Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
chore: add back getting of latest binary version in deploy prd step (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dalsontws authored Sep 21, 2022
1 parent 7c682f2 commit dd78481
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ jobs:
npm ci
env:
NPM_TOKEN: ${{ secrets.GH_TOKEN_SUPPLYALLY_BOT }}
- name: Get Latest Binary Version # Binary Version will be x.x.x based on the latest tag
id: latestBinaryVersion
run: |
# Release tag finds the lastest tag in the tree branch - i.e. prod-x.x.x
RELEASE_TAG=$(echo $(git describe --tags --abbrev=0))
# Using param substitution, we output x.x.x instead
echo "::set-output name=version::${RELEASE_TAG#*-}"
- name: Echo Version Details
run: |
echo Build number is $GITHUB_RUN_NUMBER
Expand Down

0 comments on commit dd78481

Please sign in to comment.