Skip to content

Commit

Permalink
Remove "v" prefix, as we do not use it
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Jun 6, 2018
1 parent 835d2c2 commit 696ef50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tag_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ v="${1}"

export RELEASE_GIT_TAG="${v}"

sed -i .bak "s|^\(release: {name_template: \"\)\(.*\)\(\"}\)$|\1{{\ \.ProjectName\ }}\ v${RELEASE_GIT_TAG}\3|" ./.goreleaser.floating.yml
sed -i .bak "s|^\(release: {name_template: \"\)\(.*\)\(\"}\)$|\1{{\ \.ProjectName\ }}\ v${RELEASE_GIT_TAG} (permalink)\3|" ./.goreleaser.permalink.yml
sed -i .bak "s|^\(release: {name_template: \"\)\(.*\)\(\"}\)$|\1{{\ \.ProjectName\ }}\ ${RELEASE_GIT_TAG}\3|" ./.goreleaser.floating.yml
sed -i .bak "s|^\(release: {name_template: \"\)\(.*\)\(\"}\)$|\1{{\ \.ProjectName\ }}\ ${RELEASE_GIT_TAG} (permalink)\3|" ./.goreleaser.permalink.yml

git add ./.goreleaser.floating.yml
git add ./.goreleaser.permalink.yml
Expand Down

0 comments on commit 696ef50

Please sign in to comment.