Skip to content

Commit 4573f82

Browse files
committed
fix: Bump version in package.json on staging
1 parent 9fc7bc2 commit 4573f82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
failBuild: false
2828
id: version_check
2929

30+
- name: Bump package.json version (staging)
31+
if: github.ref == 'refs/heads/staging'
32+
run: npm -no-git-tag-version version v${{ steps.version_check.outputs.rawVersion }}-beta
33+
3034
- name: Install dependencies
3135
run: npm ci
3236

@@ -42,7 +46,7 @@ jobs:
4246
- name: Upload Artifact
4347
uses: actions/upload-artifact@v2
4448
with:
45-
name: juno-node-${{ steps.version_check.outputs.releaseVersion }}
49+
name: juno-node-${{ steps.version_check.outputs.rawVersion }}
4650
path: ./juno-node-${{ steps.version_check.outputs.rawVersion }}.tgz
4751

4852
# Publish release on push to master

0 commit comments

Comments
 (0)