Skip to content

Commit 731fe22

Browse files
committed
Change github.ref to github.ref_name
1 parent 5532faf commit 731fe22

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ jobs:
2020
env:
2121
GITHUB_TOKEN: ${{ github.token }}
2222
with:
23-
title: ${{ github.ref }}
23+
title: ${{ github.ref_name }}
2424
- name: Upload install.bat
2525
uses: svenstaro/upload-release-action@v2
2626
with:
2727
repo_token: ${{ secrets.GITHUB_TOKEN }}
2828
file: install.bat
2929
asset_name: install.bat
30-
tag: ${{ github.ref }}
3130
overwrite: true
3231
publish_binaries:
3332
name: Release Binary
@@ -51,6 +50,5 @@ jobs:
5150
binary_name: codegame
5251
asset_name: codegame-cli-${{matrix.goos}}-${{matrix.goarch}}
5352
extra_files: LICENSE README.md
54-
release_tag: ${{ github.ref }}
55-
ldflags: -X "main.version=${{ github.ref }}"
53+
ldflags: -X "main.version=${{ github.ref_name }}"
5654
md5sum: false

0 commit comments

Comments
 (0)