sign release commits too

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
This commit is contained in:
Hector Sanjuan 2017-11-15 23:54:31 +01:00
parent 0c40d50497
commit ff698141f2
No known key found for this signature in database
GPG Key ID: 5C5518D5765D8A12
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@
"language": "go",
"license": "MIT",
"name": "ipfs-cluster",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"releaseCmd": "git commit -S -a -m \"gx publish $VERSION\"",
"version": "0.3.0"
}

View File

@ -11,7 +11,7 @@ fi
sed -i "s/const Version.*$/const Version = \"$version\"/" version.go
sed -i "s/const Version.*$/const Version = \"$version\"/" ipfs-cluster-ctl/main.go
git commit -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`
echo "Tag for Release ${version}" > tag_annotation
echo >> tag_annotation