Skip to content

Commit

Permalink
Add instructions for updating major tag during release (GoogleCloudPl…
Browse files Browse the repository at this point in the history
…atform#2409)

* Add instructions for updating major tag during release

* Update README.md (15 to 14)

* Unindent to match other code snippets in README.md

* Update docs/releasing/README.md
  • Loading branch information
NimJay authored and azinneera committed Mar 29, 2024
1 parent b74474f commit 0792d6b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/releasing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,16 @@ This document walks through the process of creating a new release of Online Bout

12. Make sure [cymbal-shops.retail.cymbal.dev](https://cymbal-shops.retail.cymbal.dev) works.

13. [Publish your draft release on GitHub](https://github.com/GoogleCloudPlatform/microservices-demo/releases).
13. Update the relevant major tag (for example, `v1`).

```
export MAJOR_TAG=v0 # Edit this as needed (to v1/v2/v3/etc)
git checkout release/${TAG}
git pull
git push --delete origin ${MAJOR_TAG} # Delete the remote tag (if it exists)
git tag --delete ${MAJOR_TAG} # Delete the local tag (if it exists)
git tag -a ${MAJOR_TAG} -m "Updating ${MAJOR_TAG} to its most recent release: ${TAG}"
git push origin ${MAJOR_TAG} # Push the new tag to origin
```

14. [Publish your draft release on GitHub](https://github.com/GoogleCloudPlatform/microservices-demo/releases).

0 comments on commit 0792d6b

Please sign in to comment.