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 releases #372

Open
johanhelsing opened this issue Nov 14, 2023 · 3 comments
Open

Automate releases #372

johanhelsing opened this issue Nov 14, 2023 · 3 comments
Labels
ci Only relevant for CI

Comments

@johanhelsing
Copy link
Owner

johanhelsing commented Nov 14, 2023

It would be good if there were fewer manual steps involved in releasing.

Current manual steps:

  1. Update bevy version support table in readme
  2. Release on crates.io
cargo release minor -p matchbox_socket -p matchbox_protocol -p matchbox_server -p matchbox_signaling -p bevy_matchbox --execute
  1. Tag commit with simple prefix (e.g. v0.9.0)
git tag v0.9.0
git push origin v0.9.0
  1. Push matchbox_server docker image to dockerhub
docker pull ghcr.io/johanhelsing/matchbox/matchbox_server:v0.9.0
docker image tag ghcr.io/johanhelsing/matchbox/matchbox_server:v0.9.0 jhelsing/matchbox-server:v0.9.0
docker image tag jhelsing/matchbox-server:v0.9.0 jhelsing/matchbox-server:latest
docker push jhelsing/matchbox-server:v0.9.0
docker push jhelsing/matchbox-server:latest
  1. Publish new example builds (some work done in Build and publish example projects in CI #212 )
  2. Publish github release (this should perhaps be manual, the merge list is usually quite noisy)
@johanhelsing johanhelsing added the ci Only relevant for CI label Nov 14, 2023
@simbleau
Copy link
Collaborator

Best to do these steps in a GitHub Action triggered on a "v*" release.
This is what I do to publish packages, e.g. https://github.com/vectorgameexperts/bevy-async-task/blob/main/.github/workflows/release.yml

@AgustinRamiroDiaz
Copy link
Contributor

@johanhelsing are you still interested in this? I could help with parts of this issue, with the approach that @simbleau proposed

@simbleau
Copy link
Collaborator

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Only relevant for CI
Projects
None yet
Development

No branches or pull requests

3 participants