Skip to content

Commit

Permalink
Display the tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dborowiecki committed Apr 30, 2024
1 parent 01a0f22 commit 623a6f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/module-gprpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
- name: Update version with TAG
run: |
TAG_NAME=$(git tag --sort=-version:refname | head -n 1)
echo $TAG_NAME
echo $(jq --arg a "$TAG_NAME" '.version = ($a)' package.json) > package.json
- run: yarn install
- run: yarn build
- name: Publish to GPR
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/module-npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Update version with TAG
run: |
TAG_NAME=$(git tag --sort=-version:refname | head -n 1)
echo $TAG_NAME
echo $(jq --arg a "$TAG_NAME" '.version = ($a)' package.json) > package.json
- run: yarn install
- run: yarn build
Expand Down

0 comments on commit 623a6f7

Please sign in to comment.