Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: release process is not automated #46

Open
sevein opened this issue May 26, 2020 · 0 comments
Open

Problem: release process is not automated #46

sevein opened this issue May 26, 2020 · 0 comments

Comments

@sevein
Copy link
Member

sevein commented May 26, 2020

This could potentially be done from a new GitHub workflow or from a new job in tests that performs the release tasks given a certain condition, e.g. when the tag has been made available. An option is to write a new workflow that is triggered by a known event, e.g. release, tag, ...

Things that I would like to see:

  • Semver in SCM (see setuptools_scm)
  • Publishing of Docker images (semver + latest)
  • Publishing of PyPI package
  • Notification in Slack

Manual process:

  • Update changelog
  • Bump version in a3m/__init__.py
  • Commit and push changes done in previous steps
  • Confirm that HEAD builds successfully in GitHub
  • Submit tag with
    • git tag -a "v0.4.0" -m "a3m v0.4.0", and
    • git push origin refs/tags/v0.4.0
  • Publish package with make publish
  • Publish Docker image with
    • docker build . -t ghcr.io/artefactual-labs/a3m:v0.4.0, and
    • docker push ghcr.io/artefactual-labs/a3m:v0.4.0
@sevein sevein changed the title Process: release process is not automated Problem: release process is not automated May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant