Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Commit

Permalink
chore: 尝试修复日志文件输出的版本不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
innc11 committed Apr 15, 2021
1 parent 5e5fdb0 commit 8638167
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ci/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
import time

productName = 'UpdaterHotupdatePackage'
productVersion = time.strftime('%y-%m-%d_%H-%M-%S')

if 'tag_name' in os.environ:
productVersion = os.environ['tag_name']
productVersion = time.strftime('%y-%m-%d_%H-%M-%S') if 'tag_name' not in os.environ else os.environ['tag_name']


if __name__ == "__main__":
Expand Down

0 comments on commit 8638167

Please sign in to comment.