Skip to content

Commit 5037541

Browse files
committed
Fix get version
1 parent b5b69b3 commit 5037541

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ jobs:
6565

6666
- name: Get Version
6767
id: get_version
68-
run: echo "version=$(node -p \"require('./package.json').version\")" >> $GITHUB_OUTPUT
68+
run: |
69+
VERSION=$(node -p "require('./package.json').version")
70+
echo "version=$VERSION" >> $GITHUB_OUTPUT
6971
7072
- name: Create Git Tag
7173
run: |

0 commit comments

Comments
 (0)