Skip to content

Commit 2863b8b

Browse files
committed
fix: update version retrieval method to use package.json
1 parent 5020b13 commit 2863b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/prepare-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
id: version
3434
run: |
3535
if [ "${{ github.event.inputs.version }}" = "next" ]; then
36-
CURR=$(composer get-version)
36+
CURR=$(jq -r .version package.json)
3737
MAJOR=$(echo $CURR | cut -d. -f1)
3838
MINOR=$(echo $CURR | cut -d. -f2)
3939
PATCH=$(echo $CURR | cut -d. -f3)

0 commit comments

Comments
 (0)