Skip to content

Commit 88b7fad

Browse files
committed
ci: Update method to get latest release version
1 parent 3f274db commit 88b7fad

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Set up latest git tag
19-
run: |
20-
TAG=${{ github.event.release.tag_name }}
21-
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
19+
run: echo "VERSION=${TAG#v}" >> $GITHUB_ENV
20+
env:
21+
TAG: '${{ github.event.release.tag_name }}'
2222

2323
- name: Set up container name
2424
run: echo "CONTAINER_NAME=${REPOSITORY,,}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)