File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11name : release
22
33on :
4- pull_request :
5- types : [closed]
4+ push :
65 branches :
76 - main
87
9- push :
108 tags :
119 - ' v**'
1210
@@ -25,11 +23,12 @@ concurrency:
2523
2624jobs :
2725 build-and-publish :
28- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
2926 runs-on : ubuntu-latest
3027
3128 steps :
3229 - uses : actions/checkout@v4
30+ with :
31+ fetch-depth : 0 # fetch full git history with all tags
3332
3433 - uses : actions/setup-python@v5
3534 with :
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ diffsynth_engine = [
5959]
6060
6161[tool .setuptools_scm ]
62+ local_scheme = " no-local-version"
6263
6364[tool .ruff ]
6465# Exclude a variety of commonly ignored directories.
You can’t perform that action at this time.
0 commit comments