Browse Source

commit core.go after updating version

pull/2034/head
v2ray 8 years ago
parent
commit
3e4bdc4b0c
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 3
      tools/release/make-release.sh

3
tools/release/make-release.sh

@ -18,8 +18,9 @@ VERN=${MAJOR}.${MINOR}
pushd $GOPATH/src/github.com/v2ray/v2ray-core
echo "Adding a new tag: " "v$VER"
git tag -s -a "v$VER" -m "$MSG"
echo "Commiting core.go (may not necessary)"
sed -i '' "s/\(version *= *\"\).*\(\"\)/\1$VERN\2/g" core.go
echo "Commiting core.go (may not necessary)"
git commit -S -m "Update version"
echo "Pushing changes"
git push --follow-tags
popd
Loading…
Cancel
Save