Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit fb98e0f

Browse files
committed
fix ci tag version parsing
1 parent a088aa9 commit fb98e0f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
files: highlights-*
4545
draft: true
46-
prerelease: ${{ steps.version.outputs.PRE_RELEASE != ''}}
46+
prerelease: ${{ env.PRE_RELEASE != ''}}
4747

4848
release-macos-aarch64:
4949
runs-on: macos-latest
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
files: highlights-*
7878
draft: true
79-
prerelease: ${{ steps.version.outputs.PRE_RELEASE != ''}}
79+
prerelease: ${{ env.PRE_RELEASE != ''}}
8080

8181
release-linux-aarch64:
8282
runs-on: ubuntu-latest
@@ -109,7 +109,7 @@ jobs:
109109
with:
110110
files: highlights-*
111111
draft: true
112-
prerelease: ${{ steps.version.outputs.PRE_RELEASE != ''}}
112+
prerelease: ${{ env.PRE_RELEASE != ''}}
113113

114114
release-docker:
115115
runs-on: ubuntu-latest
@@ -140,9 +140,9 @@ jobs:
140140
push: true
141141
tags: |
142142
thatsnomoon/highlights:latest
143-
thatsnomoon/highlights:${{ steps.version.outputs.MAJOR }}.${{ steps.version.outputs.MINOR }}.${{ steps.version.outputs.PATCH }}
144-
thatsnomoon/highlights:${{ steps.version.outputs.MAJOR }}.${{ steps.version.outputs.MINOR }}
145-
thatsnomoon/highlights:${{ steps.version.outputs.MAJOR }}
143+
thatsnomoon/highlights:${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
144+
thatsnomoon/highlights:${{ env.MAJOR }}.${{ env.MINOR }}
145+
thatsnomoon/highlights:${{ env.MAJOR }}
146146
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache
147147
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache,mode=max
148148

@@ -159,8 +159,8 @@ jobs:
159159
push: true
160160
tags: |
161161
thatsnomoon/highlights:latest
162-
thatsnomoon/highlights:${{ steps.version.outputs.MAJOR }}.${{ steps.version.outputs.MINOR }}.${{ steps.version.outputs.PATCH }}
163-
thatsnomoon/highlights:${{ steps.version.outputs.MAJOR }}.${{ steps.version.outputs.MINOR }}
164-
thatsnomoon/highlights:${{ steps.version.outputs.MAJOR }}
162+
thatsnomoon/highlights:${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
163+
thatsnomoon/highlights:${{ env.MAJOR }}.${{ env.MINOR }}
164+
thatsnomoon/highlights:${{ env.MAJOR }}
165165
cache-from: type=registry,ref=thatsnomoon/highlights:buildcache
166166
cache-to: type=registry,ref=thatsnomoon/highlights:buildcache,mode=max

0 commit comments

Comments
 (0)