mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 09:17:32 -05:00
commit core.go after updating version
This commit is contained in:
parent
589d20205e
commit
3e4bdc4b0c
@ -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…
Reference in New Issue
Block a user