We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f675dae commit 63d9b89Copy full SHA for 63d9b89
2 files changed
.github/workflows/python-publish.yml
@@ -1,12 +1,10 @@
1
name: release
2
3
on:
4
- pull_request:
5
- types: [closed]
+ push:
6
branches:
7
- main
8
9
- push:
10
tags:
11
- 'v**'
12
@@ -25,11 +23,12 @@ concurrency:
25
23
26
24
jobs:
27
build-and-publish:
28
- if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
29
runs-on: ubuntu-latest
30
31
steps:
32
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0 # fetch full git history with all tags
33
34
- uses: actions/setup-python@v5
35
with:
pyproject.toml
@@ -59,6 +59,7 @@ diffsynth_engine = [
59
]
60
61
[tool.setuptools_scm]
62
+local_scheme = "no-local-version"
63
64
[tool.ruff]
65
# Exclude a variety of commonly ignored directories.
0 commit comments