Skip to content

Commit

Permalink
tools: Fix version bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed Dec 26, 2020
1 parent da695fa commit 0de8860
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ run() {

sed -i '' \
-e "s/# version: .*/# version: v${nv}/" \
-e "s/ASYNC_VERSION=.*/ASYNC_VERSION=${nv}/" \
async.zsh
-e "s/WIREGUARD_INSTALLER_VERSION=.*/WIREGUARD_INSTALLER_VERSION=${nv}/" \
wireguard.sh

git add async.zsh
git add wireguard.sh
git commit -m "v${nv}"
git tag "v${nv}" -m "Release v${nv}"
git push --follow-tags
Expand Down

0 comments on commit 0de8860

Please sign in to comment.