Skip to content

Commit 809281c

Browse files
committed
Update compile.yml
1 parent fe0ffc4 commit 809281c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/compile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
steps:
1515
- name: Get version from tag
1616
id: tag_name
17-
run: echo RELEASE_VERSION=$(date +"%Y%m%d.%H%M%S") >> $GITHUB_ENV
17+
run: echo "RELEASE_VERSION=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV
1818
- uses: actions/checkout@v2
1919
- name: Create draft release
2020
id: create_draft_release
2121
uses: actions/create-release@v1
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GH_API_PERSONAL_ACCESS_TOKEN }}
2424
with:
25-
tag_name: ${{ github.ref }}
26-
release_name: ${{ github.ref }}
25+
tag_name: ${{ env.RELEASE_VERSION }}
26+
release_name: ${{ env.RELEASE_VERSION }}
2727
draft: true
2828
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
2929
body: ${{ steps.changelog_reader.outputs.changes }}

0 commit comments

Comments
 (0)