This is a guide for creating a new release.
git checkout -b release/v<version> origin/master
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -82,6 +82,7 @@ parts:
airshipper:
plugin: rust
source: https://gitlab.com/veloren/airshipper.git
+ source-tag: v0.7.0
rust-path: [client]
build-packages:
- git-lfs
git commit -m "Release <version>"
Build.
snapcraft
Install. Note, parallel instances needs to be enabled.
snap install --name=veloren_test --dangerous <snap file>
Run. Ensure airshipper runs, can download the game, and the game runs.
veloren_test
Remove. --purge
since we don't need to keep any state from the test run (and the game download is
fairly large).
snap remove --purge veloren_test
git push -u origin HEAD
git tag v<version> -a -m "Release <version>" && git push origin v<version>
git push --force origin HEAD:beta
Note: The security updates workflow runs for the beta
branch
(this publishes to the beta
snap channel). This is the reason we need this branch to reflect the
latest release. Also, we use pusing to this branch to automatically trigger publishing of a new
release.