Skip to content

Commit 076ff21

Browse files
committed
Update git tag command
1 parent 8b60ebb commit 076ff21

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,7 @@ jobs:
287287
288288
- name: Tag stable release
289289
if: ${{ contains(github.ref, 'release') }}
290-
run: |
291-
VERSION=$(cat cli_version.txt)
292-
git tag "v$VERSION"
290+
run: git tag "v$(head -n 1 cli_version.txt)"
293291

294292
- name: Push changes
295293
uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)