Commit Graph

6 Commits

Author SHA1 Message Date
Alex Crichton
d2d0396f40 Really fix PRs from bump-version for patch releases (#3631)
Actually poking around the `github` context it looks like for
workflow-dispatch-triggered-events `base_ref` is blank but `ref_name`
has the branch name we're interested in.
2022-01-04 11:40:25 -06:00
Alex Crichton
222d6fbc09 Try to fix patch release process (#3627)
The whole point of patch releases is that they're not on the `main`
branch, so this is an attempt to handle #3621.
2021-12-21 09:50:31 -06:00
Alex Crichton
00feefe9a7 Change the bump-version workflow's schedule (#3512)
* Change the bump-version workflow's schedule

Either I don't understand cron or GitHub doesn't understand cron. It's
not clear which. I think that
https://github.com/bytecodealliance/wasmtime/pull/3511 may have fallen
within our schedule but it was supposed to be on a weekday. Otherwise
https://github.com/bytecodealliance/wasmtime/pull/3499 was certainly
spurious. This commit moves to a simpler "just do it on the same day
each month" and we can manually figure out weekdays and such. Hopefully
this should reduce the number of spurious PRs we're getting to bump
versions.

This also removes the script to force a version bump since I found a
button on the GitHub UI to do the same thing. Additionally I've updated
the patch-release documentation to use this button. Note that this
button takes inputs as well which means we can further automate patch
releases to look even more like normal release process, differing only
in one part of the argument used to trigger the workflow.

* Fix a typo
2021-11-08 10:37:53 -06:00
Alex Crichton
0737afe07e Fix some typos in the bump-version.yml workflow (#3488)
Mostly just holdovers from various refactorings I applied along the way
when writing this all up.
2021-10-28 16:24:28 -05:00
Alex Crichton
909a5d54d2 Add a manual trigger to force CI to bump crate versions
I'm curious to try out the full workflow so instead of waiting a few
weeks I figured I'd add a manual trigger here too
2021-10-28 10:13:00 -07:00
Alex Crichton
807b528bfb Automate more of Wasmtime's release process (#3422)
* Automate more of Wasmtime's release process

This change revamps the release process for Wasmtime and intends to make
it nearly 100% automated for major release and hopefully still pretty
simple for patch releases. New workflows are introduced as part of
this commit:

* Once a month a PR is created with major version bumps
* Specifically hinted commit messages to the `main` branch will get
  tagged and pushed to the main repository.
* On tags we'll now not only build releases after running CI but
  additionally crates will be published to crates.io.

In conjunction with other changes this means that the release process
for a new major version of Wasmtime is simply merging a PR. Patch
releases will involve running some steps locally but most of the
nitty-gritty should be simply merging the PR that's generated.

* Use an anchor in a regex
2021-10-26 10:25:40 -05:00