Skip to content

Commit 550260a

Browse files
author
Oleg
committed
Correct which version is used for a tag
1 parent 5a1e33d commit 550260a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ jobs:
142142
ref: ${{ github.event.before }}
143143

144144
- name: Mark the current head with the latest version before the update
145-
run: git tag v${{ needs.build.outputs.current-version }} && git push origin v${{ needs.build.outputs.current-version }}
145+
env:
146+
TAG: v${{ needs.meta.outputs.latest-version }}
147+
run: git tag $TAG && git push origin $TAG
146148

147149
automerge:
148150
needs: build

0 commit comments

Comments
 (0)