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

Feat/automate release #41

Merged
merged 9 commits into from
Oct 17, 2022
Merged

Feat/automate release #41

merged 9 commits into from
Oct 17, 2022

Conversation

mmolari
Copy link
Collaborator

@mmolari mmolari commented Oct 15, 2022

Added the tools/release.sh script. Usage example: bash tools/release.sh 0.6.1.

This script will:

  • check that the user is on the master branch.
  • check that there are no uncommitted changes.
  • check that the desired version is not already present in the repo.
  • check that the version argument matches the expected pattern "X.Y.Z" .
  • check that the version matches the version reported in Project.toml
  • check that CHANGELOG.md has an entry for the release version, and use it to generate release notes.

If these conditions are met, the script will generate a release draft, to be inspected and approved on github.

I also updated the releasing.md file in the documentation

@mmolari mmolari linked an issue Oct 15, 2022 that may be closed by this pull request
@mmolari mmolari merged commit 6932a9b into master Oct 17, 2022
@mmolari mmolari deleted the feat/automate-release branch October 17, 2022 08:11
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

Successfully merging this pull request may close these issues.

Automate release routine
2 participants