release.sh: fix version find-and-replace
parent
981f7e8701
commit
558cd7eaca
|
@ -31,10 +31,11 @@ for binary in "innernet" "innernet-server"; do
|
|||
gzip -fk "doc/$binary.8"
|
||||
done
|
||||
|
||||
git add doc
|
||||
perl -pi -e "s/$OLD_VERSION/$VERSION/g" README.md
|
||||
|
||||
VERSION="v$(cargo pkgid -p shared | cut -d '#' -f 2)"
|
||||
|
||||
perl -pi -e "s/$OLD_VERSION/$VERSION/g" README.md
|
||||
|
||||
git add doc
|
||||
git add README.md
|
||||
git commit -m "meta: release $VERSION"
|
||||
git tag -a "$VERSION" -m "release $VERSION"
|
||||
git tag -f -a "$VERSION" -m "release $VERSION"
|
||||
|
|
Loading…
Reference in New Issue