-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
3
-
False
-
-
False
-
rhel-container-tools
-
-
-
RUN 277
As part of the monorepo the go modules require a special tag format and release sequence to make it work correctly. Create a script which should handle bumping the version, creating the the commits and tagging the right ones and then bumpming the module.
Below are the steps I did for the manual release which should be made as part of a script that takes the three storage, image and common versions as argument:
git checkout -b release
commit: bump storage to v1.60.0
git push origin release
git tag -s -m storage/v1.60.0 storage/v1.60.0 HEAD
- push branch
- make PR
- wait merge
git push upstream storage/v1.60.0
- update storage in image/common go.mod
go get go.podman.io/storage@v1.60.0
commit: go.mod: update to storage v1.60.0
commit: bump image to v5.37.0
git tag -s -m image/v5.37.0 image/v5.37.0 HEAD
- push branch
- make PR
- wait merge
git push upstream image/v5.37.0
- update image in common go.mod
go get go.podman.io/storage@v1.60.0
commit: go.mod: update to image v5.37.0
commit: bump common to v0.65.0
git tag -s -m common/v0.65.0 common/v0.65.0 HEAD
commit: bump back to dev
- push branch
- make PR
- wait merge
git push upstream common/v0.65.0
- relates to
-
RUN-3054 POC - Monorepo auto tag/release creation
-
- Closed
-