Skip to content

Commit b7cf5d6

Browse files
ci: 设置测试版的版本号
Relates-to: #625
1 parent 6b4c0f2 commit b7cf5d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
ln -s $(kpsewhich -var-value=TEXMFDIST)/fonts/ ~/.fonts/texmf-dist-fonts
4141
fc-cache
4242
43+
- name: Update version if prerelease
44+
if: ${{ github.event.release.prerelease }}
45+
# 目前发布正式版时,会手动提升版本号
46+
run: python scripts/update_version.py
47+
4348
- run: make doc handbooks
4449

4550
- name: Upload bithesis.pdf for later usage.

0 commit comments

Comments
 (0)