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

Automate the release process with a GitHub Actions workflow #517

Merged
merged 1 commit into from Feb 7, 2024

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented Feb 7, 2024

This is v2 of #514 that I didn't want to force push to in case we want to use the v1 workflow at a later point.

In this version the starter of the workflow provides the (masked) cargo publish token so that it does not have to be stored on GitHub.

See the other PR for more info.

To make it easy to make releases, automate the process via GitHub
Actions.

Create a workflow that:
 1. Runs cargo publish
 2. Pushes a git tag,
    but only if the publish was successful.
 3. Creates a GitHub Release with release notes from CHANGELOG.md,
    but only if creating the tag was successful.
@Enselic Enselic merged commit 5a9c472 into trishume:master Feb 7, 2024
4 checks passed
@Enselic Enselic deleted the release-v2 branch February 7, 2024 08:53
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.

None yet

1 participant