Skip to content

Commit 7adb5c7

Browse files
committed
fix: use bash to fix git tag env variable set
1 parent 0891f25 commit 7adb5c7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/tauri-build-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v3
5454
- name: get Git Tag
55+
shell: bash
5556
run: echo "GIT_TAG_NAME=dev-app-v$(node -p "require('./package.json').version")" >> $GITHUB_ENV
5657
- name: setup node
5758
uses: actions/setup-node@v3

.github/workflows/tauri-build-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v3
5454
- name: get Git Tag
55+
shell: bash
5556
run: echo "GIT_TAG_NAME=prod-app-v$(node -p "require('./package.json').version")" >> $GITHUB_ENV
5657
- name: setup node
5758
uses: actions/setup-node@v3

.github/workflows/tauri-build-staging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v3
5454
- name: get Git Tag
55+
shell: bash
5556
run: echo "GIT_TAG_NAME=staging-app-v$(node -p "require('./package.json').version")" >> $GITHUB_ENV
5657
- name: setup node
5758
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)