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 1
1
name : release
2
2
3
3
on :
4
- pull_request :
5
- types : [closed]
4
+ push :
6
5
branches :
7
6
- main
8
7
9
- push :
10
8
tags :
11
9
- ' v**'
12
10
@@ -25,11 +23,12 @@ concurrency:
25
23
26
24
jobs :
27
25
build-and-publish :
28
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
29
26
runs-on : ubuntu-latest
30
27
31
28
steps :
32
29
- uses : actions/checkout@v4
30
+ with :
31
+ fetch-depth : 0 # fetch full git history with all tags
33
32
34
33
- uses : actions/setup-python@v5
35
34
with :
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ diffsynth_engine = [
59
59
]
60
60
61
61
[tool .setuptools_scm ]
62
+ local_scheme = " no-local-version"
62
63
63
64
[tool .ruff ]
64
65
# Exclude a variety of commonly ignored directories.
You can’t perform that action at this time.
0 commit comments