You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
profit!! (CI creates tag and eventually publishes to crates.io)
There is also an issue with releasing versions behind origin:main, this could be improved by allowing the same process for those changes, ie:
Create branch vx.y.z based on the most adjacent tag. Publish this branch (this shouldn't trigger ci)
cargo release --execute x.y.z
submit pr to merge changes into x.y.z and merge
ci creates tag and eventually publishes to crates.io
This process doesn't work today, because the ci for publishing is only triggered on published tags.
Github doesn't allow the default github token in workflows to trigger other workflows except for workflows on workflow_dispatch and repository_dispatch, to circumvent this, it's possible to use a deploy key (which I've already added to this repo, secrets.COMMIT_KEY)
The text was updated successfully, but these errors were encountered:
1. bump the version number in `Cargo.toml` to `x.y.z` and apply changesets `cargo xtask changelog --release vx.y.z`.
Building the changelog and bumping the version number are handled with cargo-release. See package.metadata.release. I don't have an issue though with making cargo xtask release effectively an alias for cargo release, since it's possible we could use it later to customize functionality.
2. Create and merge the pr
3. Create and push tag vx.y.z on that merge commit from bors when merged.
Currently, to do releases we have to:
Cargo.toml
tox.y.z
and apply changesetscargo xtask changelog --release vx.y.z
.cargo release x.y.z --execute
I'd like to streamline this process to only two steps
cargo release x.y.z --execute
There is also an issue with releasing versions behind origin:main, this could be improved by allowing the same process for those changes, ie:
cargo release --execute x.y.z
This process doesn't work today, because the ci for publishing is only triggered on published tags.
Github doesn't allow the default github token in workflows to trigger other workflows except for workflows on
workflow_dispatch
andrepository_dispatch
, to circumvent this, it's possible to use a deploy key (which I've already added to this repo,secrets.COMMIT_KEY
)The text was updated successfully, but these errors were encountered: