Skip to content

Commit 0c532b1

Browse files
committed
another build test
1 parent 44d3074 commit 0c532b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555

5656
publish-to-testpypi:
5757
name: Publish Python 🐍 distribution 📦 to TestPyPI
58-
# Only publish to TestPyPI on main/develop branches or PRs, not on local dev commits
59-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || github.event_name == 'pull_request'
58+
# Only publish to TestPyPI on main branch, not on other branches or PRs
59+
if: github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')
6060
needs:
6161
- build
6262
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ requires = ["hatchling", "hatch-vcs"]
2121
build-backend = "hatchling.build"
2222
[tool.hatch.version]
2323
source = "vcs"
24+
raw-options = { local_scheme = "no-local-version" }

0 commit comments

Comments
 (0)