Skip to content

Commit 012bfbf

Browse files
committed
fix: fixup
1 parent 462b984 commit 012bfbf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@ jobs:
3838

3939
# update version in package.yaml, so the --version option works correctly
4040
- run: |
41-
yq -i ".version = \"$NEW_PVP_VERSION\"" package.yaml
41+
new_version=$EPOCH.$MAJOR.$MINOR.$PATCH
42+
yq -i ".version = \"$new_version\"" package.yaml
4243
env:
43-
NEW_PVP_VERSION: 0.${{ steps.release.outputs.new_release_version }}
44+
EPOCH: 0
45+
MAJOR: ${{ steps.release.outputs.new_release_major_version }}
46+
MINOR: ${{ steps.release.outputs.new_release_minor_version }}
47+
PATCH: ${{ steps.release.outputs.new_release_patch_version }}
4448
4549
- id: stack
4650
uses: freckle/stack-action@v5

0 commit comments

Comments
 (0)