Include a tag annotation, sign tags
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
parent
81e1f3855e
commit
3726ef8c9d
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
tag_annotation
|
||||||
coverage.out
|
coverage.out
|
||||||
ipfs-cluster-service/ipfs-cluster-service
|
ipfs-cluster-service/ipfs-cluster-service
|
||||||
ipfs-cluster-ctl/ipfs-cluster-ctl
|
ipfs-cluster-ctl/ipfs-cluster-ctl
|
||||||
|
|
|
@ -12,5 +12,9 @@ fi
|
||||||
sed -i "s/const Version.*$/const Version = \"$version\"/" version.go
|
sed -i "s/const Version.*$/const Version = \"$version\"/" version.go
|
||||||
sed -i "s/const Version.*$/const Version = \"$version\"/" ipfs-cluster-ctl/main.go
|
sed -i "s/const Version.*$/const Version = \"$version\"/" ipfs-cluster-ctl/main.go
|
||||||
git commit -a -m "Release $version"
|
git commit -a -m "Release $version"
|
||||||
git tag v$version
|
lastver=`git tag -l | grep -E 'v[0-9]+\.[0-9]+\.[0-9]+' | tail -n 1`
|
||||||
|
echo "Tag for Release ${version}" > tag_annotation
|
||||||
|
echo >> tag_annotation
|
||||||
|
git log --pretty=oneline ${lastver}..HEAD >> tag_annotation
|
||||||
|
git tag -a -s -F tag_annotation v$version
|
||||||
gx release $version
|
gx release $version
|
||||||
|
|
Loading…
Reference in New Issue
Block a user