Skip to content

Commit 29ea8e1

Browse files
committed
chore: Remove need for double tag on release
1 parent c922396 commit 29ea8e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
name: "Publish release on github"
7474
command: |
7575
VERSION=$(head -1 server/VERSION)
76-
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${VERSION} /tmp/archives
76+
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace v${VERSION} /tmp/archives
7777
7878
build-windows:
7979
executor:
@@ -128,7 +128,7 @@ jobs:
128128
name: Publish release on github
129129
command: |
130130
$VERSION=$(Get-Content -TotalCount 1 VERSION)
131-
~\go\bin\ghr.exe -t $env:GITHUB_TOKEN -u $env:CIRCLE_PROJECT_USERNAME -r $env:CIRCLE_PROJECT_REPONAME -c $env:CIRCLE_SHA1 -replace $VERSION C:\Users\circleci\archives
131+
~\go\bin\ghr.exe -t $env:GITHUB_TOKEN -u $env:CIRCLE_PROJECT_USERNAME -r $env:CIRCLE_PROJECT_REPONAME -c $env:CIRCLE_SHA1 -replace v$VERSION C:\Users\circleci\archives
132132
133133
- when:
134134
condition:

0 commit comments

Comments
 (0)