We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 462b984 commit 012bfbfCopy full SHA for 012bfbf
.github/workflows/release.yml
@@ -38,9 +38,13 @@ jobs:
38
39
# update version in package.yaml, so the --version option works correctly
40
- run: |
41
- yq -i ".version = \"$NEW_PVP_VERSION\"" package.yaml
+ new_version=$EPOCH.$MAJOR.$MINOR.$PATCH
42
+ yq -i ".version = \"$new_version\"" package.yaml
43
env:
- 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 }}
48
49
- id: stack
50
uses: freckle/stack-action@v5
0 commit comments