cloud.google.com/go
git tag -l
. It should look something like vX.Y.Z
. We'll call the current version $CV
and the new version $NV
.git log $CV...
to list all the changes since the last release. NOTE: You must manually exclude changes from submodules [1].CHANGES.md
to include a summary of the changes.cd internal/version && go generate && cd -
./tidyall.sh
git pull
c. Tag the repo with the next version: git tag $NV
. d. Push the tag: git push origin $NV
.CHANGES.md
.We have several submodules, including cloud.google.com/go/logging, cloud.google.com/go/datastore, and so on.
To release a submodule:
git tag -l
. It should look something like datastore/vX.Y.Z
. We'll call the current version $CV
and the new version $NV
, which should look something like datastore/vX.Y+1.Z
(assuming a minor bump).git log $CV.. -- datastore/
to list all the changes to the submodule directory since the last release.datastore/CHANGES.md
to include a summary of the changes../tidyall.sh
cd internal/version && go generate && cd -
git pull
c. Tag the repo with the next version: git tag $NV
. d. Push the tag: git push origin $NV
.datastore/CHANGES.md
.1: This should get better as submodule tooling matures.