尝试使用python解决bat无法添加变量的问题

This commit is contained in:
2021-08-09 07:39:26 +08:00
parent 8d74a35f29
commit ebc4e08986
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
import os
import getVersion
versionCode, versionName = getVersion.getVersion()
os.system(f'echo Version={versionName} >> $env:GITHUB_ENV')