Skip to content

Commit

Permalink
Update Get latest tag name step in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Jan 22, 2024
1 parent 20a43ad commit f4420b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ jobs:
# as the docker image tag
- name: Get latest tag name
id: last_tag
run: echo ::set-output name=tag::$(git describe --tags --abbrev=0 | sed 's/^v//')
run: |
LATEST_TAG=$(git describe --tags --abbrev=0 | sed 's/^v//')
echo $LATEST_TAG

0 comments on commit f4420b6

Please sign in to comment.