From 36c36018d1c6037f4ef49e59ecdb05ccae157482 Mon Sep 17 00:00:00 2001 From: Ammar Hussein Date: Thu, 20 Nov 2025 03:33:33 -0800 Subject: [PATCH] add readme instructions to publish new versions --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..226294b --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# To release a new version + +## Build in the docker image (make sure you have Docker installed!) + +Set the version to the next [semantic version](https://semver.org/) after the version posted at [our co-op cloud's packages site](https://git.coopcloud.tech/RTM/-/packages) under "mapbattle": + +``` bash +version= +docker build --platform linux/amd64 -t git.coopcloud.tech/rtm/mapbattle:$version . +``` + +## Push the image to gitea registery + +Check out [this documentation](https://docs.gitea.com/next/usage/packages/container) for how to login with gitea registery. + +``` bash +# If not in the same terminal session, rerun `version=...` line from last step +docker push git.coopcloud.tech/rtm/mapbattle:$version +``` + +At [our co-op cloud's packages site](https://git.coopcloud.tech/RTM/-/packages), click on "mapbattle" and check that the version mentioned is the version you specified! \ No newline at end of file