This commit is contained in:
Howard Wu 2022-05-25 01:03:10 +08:00 committed by GitHub
parent a12a3d6d24
commit 1f37fafcef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ jobs:
ver_no = zip_name.split("_") ver_no = zip_name.split("_")
long_ver = ver_no[1] long_ver = ver_no[1]
ver=long_ver.split(".") ver=long_ver.split(".")
main_ver=ver[1] main_ver=ver[0]
with open(os.environ['GITHUB_ENV'], 'a') as g: with open(os.environ['GITHUB_ENV'], 'a') as g:
g.write(f'WSA_VER={long_ver}\n') g.write(f'WSA_VER={long_ver}\n')
with open(os.environ['GITHUB_ENV'], 'a') as g: with open(os.environ['GITHUB_ENV'], 'a') as g: