Skip to content

Commit 6fc012b

Browse files
fix(ci): keep Release Dev publishing when the snap upload or a Go tag breaks it
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent c5850d7 commit 6fc012b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/release-dev.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ jobs:
290290
- vm-e2e
291291
- build-deb
292292
- build-rpm
293-
- publish-snap
293+
- build-snap
294294
runs-on: linux-amd64-cpu8
295295
timeout-minutes: 10
296296
permissions:

‎pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ namespaces = false
6868
[tool.setuptools.package-data]
6969
openshell = ["py.typed", "_proto/*.py", "_proto/*.pyi"]
7070

71+
# Ignore non-release tags such as sdk/go/vX.Y.Z, which share the release commit.
72+
[tool.setuptools_scm]
73+
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v[0-9]*"]
74+
7175
[tool.ruff]
7276
target-version = "py311"
7377
line-length = 88

0 commit comments

Comments
 (0)