Skip to content

Commit

Permalink
update: updated github action workflow to include version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
themerous committed Jul 28, 2024
1 parent e4c864d commit 3c62a39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Get the latest tag or default
id: git_tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
echo "TAG=${TAG}" >> $GITHUB_ENV
- name: Set up Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 3c62a39

Please sign in to comment.