Improved and described release process.
This commit is contained in:
parent
45799804da
commit
2b02bb7de4
2 changed files with 19 additions and 2 deletions
12
README.md
12
README.md
|
|
@ -312,7 +312,17 @@ This performs the following sequence:
|
|||
git push --follow-tags origin
|
||||
```
|
||||
|
||||
This pushes both the new commit and the annotated tag. The tag is the source of truth for verification.
|
||||
**`--follow-tags` is critical.** Without it, only the commit is pushed — the annotated tag (with checksums) stays local. The release is incomplete until the tag is on the remote.
|
||||
|
||||
### Forgot to use `--follow-tags`?
|
||||
|
||||
If you already ran `git push` without it, push just the tag:
|
||||
|
||||
```bash
|
||||
git push origin v1.1
|
||||
```
|
||||
|
||||
The tag is the source of truth for verification. Without it on the remote, nobody can verify.
|
||||
|
||||
### Verify a release
|
||||
|
||||
|
|
|
|||
|
|
@ -229,9 +229,16 @@ echo " BUILDNUM: ${BUILDNUM} → ${NEXT_BUILDNUM}"
|
|||
echo " Artifacts in: ${DIST}/"
|
||||
echo " Go version: ${GO_VERSION}"
|
||||
echo ""
|
||||
echo " To publish:"
|
||||
echo " !!! IMPORTANT !!!"
|
||||
echo " The tag '${TAG}' exists ONLY on your machine."
|
||||
echo " It must be pushed separately to make it available."
|
||||
echo ""
|
||||
echo " To publish the complete release:"
|
||||
echo " git push --follow-tags origin"
|
||||
echo ""
|
||||
echo " If you already pushed without --follow-tags:"
|
||||
echo " git push origin ${TAG}"
|
||||
echo ""
|
||||
echo " Artifacts:"
|
||||
ls -lh "${DIST}/" | sed 's/^/ /'
|
||||
echo "============================================"
|
||||
|
|
|
|||
Loading…
Reference in a new issue