Skip to content

Commit 8911e8d

Browse files
authored
chore: add explicit python release (#74)
1 parent f9542d6 commit 8911e8d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
push:
1010
branches:
1111
- main
12-
tags:
13-
- '*'
1412
pull_request:
1513
branches:
1614
- main
1715
workflow_dispatch:
16+
release:
17+
types: [published]
1818

1919
permissions:
2020
contents: read
@@ -158,7 +158,7 @@ jobs:
158158
release:
159159
name: Release
160160
runs-on: ubuntu-latest
161-
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
161+
if: ${{ (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'crackers_python')) || github.event_name == 'workflow_dispatch' }}
162162
needs: [ linux, macos, sdist ]
163163
permissions:
164164
# Use to sign the release artifacts

release-plz.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ pr_labels = ["release"] # add the `release` label to the release Pull Request
55
[[package]] # the double square brackets define a TOML table array
66
name = "crackers_python"
77
publish = false # disable `cargo publish` for `package_a`
8-
git_release_enable = false
9-
git_tag_enable = false
108
version_group = "crackers"
119

1210
[[package]]

0 commit comments

Comments
 (0)