Skip to content

Commit

Permalink
pre release v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Jul 16, 2023
1 parent 488527e commit dbb1f8c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
- v1.5.0(2023-07-16)
- 新增 清空操作日志
- 修复 Python2证书查询失败问题
- 新增 数据管理功能
- 优化 文档新增k8s自动获取到ingress的域名到domain-admin
- 优化 添加py2兼容性备注

- v1.4.36(2023-07-14)
- 优化 自动写入CHANGELOG

Expand Down
2 changes: 1 addition & 1 deletion domain_admin/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"""
from __future__ import print_function, unicode_literals, absolute_import, division

VERSION = '1.4.36'
VERSION = '1.5.0'
14 changes: 9 additions & 5 deletions version-cli/auto_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ def get_changelog(version, next_version):
return changelog


def release(next_version):
# 提交代码
os.system(
"git add . && git commit -m 'release v{}' && git tag v{} && git push --tag".format(
next_version, next_version)
)


def main():
source_text = read_file(VERSION_FILE)

Expand All @@ -122,11 +130,7 @@ def main():
write_file(VERSION_FILE, target_text)
print(current_version, '=>', next_version)

# 提交代码
os.system(
"git add . && git commit -m 'release v{}' && git tag v{} && git push --tag".format(
next_version, next_version)
)
release(next_version)


if __name__ == '__main__':
Expand Down

0 comments on commit dbb1f8c

Please sign in to comment.