Fix release changelog when having release candidates.
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
parent
f9c1c44dbb
commit
bebc486bb3
|
@ -13,7 +13,7 @@ make gx-clean
|
||||||
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 -S -a -m "Release $version"
|
git commit -S -a -m "Release $version"
|
||||||
lastver=`git tag -l | grep -E 'v[0-9]+\.[0-9]+\.[0-9]+' | tail -n 1`
|
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 for Release ${version}" > tag_annotation
|
||||||
echo >> tag_annotation
|
echo >> tag_annotation
|
||||||
git log --pretty=oneline ${lastver}..HEAD >> tag_annotation
|
git log --pretty=oneline ${lastver}..HEAD >> tag_annotation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user