Skip to content

Commit 3ed5426

Browse files
committed
chore: fix env for release
1 parent 29251c8 commit 3ed5426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
run: go version
3232
- name: Set VERSION env
3333
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
34-
- name: Set Github token env
35-
run: echo GITHUB_TOKEN=${secrets.RELEASE_TOKEN} >> ${GITHUB_TOKEN}
3634
- name: Copy .env file
3735
run: mv .env.sample .env
3836
# - name: Package files for windows
@@ -50,6 +48,8 @@ jobs:
5048
uses: softprops/action-gh-release@v1
5149
with:
5250
files: authorizer-${VERSION}-linux-amd64.tar.gz
51+
token: ${{secrets.RELEASE_TOKEN}}
52+
tag_name: ${VERSION}
5353
# - name: Upload assets
5454
# run: |
5555
# github-assets-uploader -f authorizer-${VERSION}-linux-amd64.tar.gz -mediatype application/gzip -repo authorizerdev/authorizer -token ${{secrets.RELEASE_TOKEN}} -tag ${VERSION}

0 commit comments

Comments
 (0)