mirror of
https://github.com/tonarino/innernet.git
synced 2025-01-22 05:08:49 +02:00
release.sh: fix version find-and-replace
This commit is contained in:
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…
x
Reference in New Issue
Block a user