Skip to content

Commit 241d15b

Browse files
committed
build.yml fix scripts.version step
1 parent 5e58bf5 commit 241d15b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ jobs:
8181

8282
- name: Get launcher version
8383
id: version
84-
working-directory: fujinet-pc-launcher
84+
working-directory: fujinet-pc-launcher/launcher
8585
run: |
86-
python -m launcher -V
87-
echo "::set-output name=fujinet::$(python -m launcher -V | awk '{if(tolower($1)=="fujinet-pc" && tolower($2)=="launcher") print $3}')"
88-
echo "::set-output name=release::$(python -m launcher -V | awk '{if(tolower($1)=="fujinet-pc" && tolower($2)=="launcher") print $3}' | sed 's/\(\.[1-9]\)\..*/\1/')"
86+
python -c 'import version; print(version.VERSION_FULL)'
87+
echo "::set-output name=launcher::$(python -c 'import version; print(version.VERSION_FULL)')"
88+
echo "::set-output name=release::$(python -c 'import version; print(version.VERSION_FULL)' | sed 's/\(\.[1-9]\)\..*/\1/')"
8989
9090
- name: Populate dist directory
9191
run: |

0 commit comments

Comments
 (0)