Skip to content

Commit bbba4fd

Browse files
committed
Renamed environment variable.
1 parent 215a979 commit bbba4fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,20 @@ jobs:
7979
run: |
8080
powershell -Command "Compress-Archive -Path 'ColorProfiles','Configs','Installer','OpenCL','PerlMagick','Tools' -DestinationPath 'files.zip'"
8181
82-
- name: Set release number
82+
- name: Set version
8383
shell: bash
84-
run: echo "RELEASE=$(date +'%Y.%m.%d.%H%M')" >> $GITHUB_ENV
84+
run: echo "VERSION=$(date +'%Y.%m.%d.%H%M')" >> $GITHUB_ENV
8585

8686
- name: Create and push tag
8787
shell: bash
8888
run: |
8989
git config user.name "github-actions[bot]"
9090
git config user.email "github-actions[bot]@users.noreply.github.com"
91-
git tag $RELEASE
92-
git push origin $RELEASE
91+
git tag $VERSION
92+
git push origin $VERSION
9393
9494
- name: Publish release
9595
shell: cmd
9696
env:
9797
GH_TOKEN: ${{github.token}}
98-
run: gh release create "%RELEASE%" --title "Release %RELEASE%" ${{github.workspace}}\Artifacts\Configure.Release.x64.exe ${{github.workspace}}\Artifacts\Configure.Release.arm64.exe ${{github.workspace}}\Artifacts\Configure.Release.x86.exe ${{github.workspace}}\files.zip
98+
run: gh release create "%VERSION%" --title "Release %VERSION%" ${{github.workspace}}\Artifacts\Configure.Release.x64.exe ${{github.workspace}}\Artifacts\Configure.Release.arm64.exe ${{github.workspace}}\Artifacts\Configure.Release.x86.exe ${{github.workspace}}\files.zip

0 commit comments

Comments
 (0)