Skip to content

Commit d89faca

Browse files
fix: move release config to action only (#14)
1 parent b981897 commit d89faca

4 files changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Verify tag matches package version
2121
run: |
2222
TAG="${{ github.event.release.tag_name }}"
23+
TAG="${TAG#resilient-stt-v}"
2324
TAG="${TAG#v}"
2425
VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
2526
if [ "$TAG" != "$VERSION" ]; then

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ jobs:
1919
with:
2020
# PAT required so release:created triggers publish.yml (GITHUB_TOKEN does not).
2121
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
22+
# Python simple mode: version from GitHub releases + pyproject.toml bumps.
2223
release-type: python
24+
include-component-in-tag: true

.release-please-manifest.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

release-please-config.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)