split debug & release for windows

This commit is contained in:
王劲鹏
2021-05-13 14:16:07 +08:00
committed by osborn
parent dd2639bf4e
commit 00047dc132
5 changed files with 33 additions and 14 deletions

View File

@@ -30,11 +30,9 @@ def main():
else:
print("params error.");
return;
system('conan export-pkg ./conanfile-windows.py DoricCore/%s@bixin/stable -s build_type=Debug -s os=Windows' % version)
system('conan export-pkg ./conanfile-windows.py DoricCore/%s@bixin/stable -s build_type=Release -s os=Windows' % version)
system('conan export-pkg ./conanfile-windows-debug.py DoricCore/%s@bixin/stable -s build_type=Debug -s os=Windows' % version)
system('conan export-pkg ./conanfile-windows-release.py DoricCore/%s@bixin/stable -s build_type=Release -s os=Windows' % version)
if isOnline == "1":
system('conan upload DoricCore/%s@bixin/stable --all -r=pc' % version)
system('git tag %s' % version)
system('git push --tags')
if __name__ == "__main__":
main()