Skip to content

Commit

Permalink
Add version to release build
Browse files Browse the repository at this point in the history
  • Loading branch information
orhoj committed Feb 6, 2024
1 parent 830f8e7 commit 3423546
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: steps.fetch-dependencies.outputs.cache-hit != 'true'
run: YARN_CHECKSUM_BEHAVIOR=ignore yarn

build:
release:
runs-on: ubuntu-20.04
needs: [dependencies]

Expand All @@ -53,6 +53,12 @@ jobs:
**/node_modules
key: ${{ runner.os }}-${{ env.dummy }}-${{ hashFiles('**/package.json', '**/yarn.lock') }}

- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
with:
path: packages/browser-wallet

- name: Build
run: yarn build:all

Expand All @@ -62,7 +68,7 @@ jobs:
- name: Upload release
uses: actions/upload-artifact@master
with:
name: concordium-browser-wallet
name: concordium-browser-wallet-${{steps.package-version.outputs.current-version}}
path: ./packages/browser-wallet/dist

- name: Make development build
Expand All @@ -71,5 +77,5 @@ jobs:
- name: Upload development release
uses: actions/upload-artifact@master
with:
name: concordium-browser-wallet-dev
name: concordium-browser-wallet-dev-${{steps.package-version.outputs.current-version}}
path: ./packages/browser-wallet/dist

0 comments on commit 3423546

Please sign in to comment.