Skip to content

Commit bda5834

Browse files
committed
fix(workflows/release.yml): Fix release workflos
1 parent e5a8fc5 commit bda5834

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,9 @@ jobs:
134134
echo "flet==0.28.3" > requirements.txt
135135
136136
- name: Update src/__version.py__ in one line using bash
137-
run: |
138-
# ${parameter#word} というbashの機能を使って 'v' を除去
139-
VERSION_NUM="${{ github.ref_name#v }}"
140-
141-
# 1行でファイルに書き込む
142-
echo "VERSION = \"$VERSION_NUM\"" > src/__version.py__
137+
run: |
138+
# VERSION環境変数からバージョン番号を取得して、1行でファイルに書き込む
139+
echo "VERSION = \"$VERSION\"" > src/__version.py__
143140
shell: bash
144141

145142
- name: Install Linux Build Dependencies

0 commit comments

Comments
 (0)