When developing for the site, most code is changed in the development/admin folder, where the os2display-admin repo is checked out. When you are done working on a feature there and it is merged to the reload-develop branch you need to tag it and build a release.
Assuming that you are in the development/admin folder:
- Find out what the next tag should be by upping the number on the current tag:
git describe --tags. We'll refer to it asMYTAGhere. git tag MYTAGgit push origin --tags
Now cd to the root of this repo and:
- Edit
_variables.sourceand bumpADMIN_RELEASE_TAG make build-release- If you feel like it you can now test the release by running
make reset-releasefrom the root of the project make push-release
You are now ready to deploy your release. Go to os2display-k8s repo to see docs for deployment.