Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
environment:
name: release
outputs:
published: ${{ steps.sampo.outputs.published }}
released: ${{ steps.sampo.outputs.released }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -28,21 +28,18 @@ jobs:
id: sampo
uses: bruits/sampo/crates/sampo-github-action@main
with:
command: auto
command: release
create-github-release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish:
name: Publish to PyPI
needs: release
if: needs.release.outputs.published == 'true'
if: needs.release.outputs.released == 'true'
runs-on: ubuntu-latest
environment:
name: release
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
Expand All @@ -56,4 +53,6 @@ jobs:
fi
done
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
run: uv publish dist/*
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
12 changes: 12 additions & 0 deletions .sampo/changesets/jovial-duke-mielikki.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
pypi/gt-python: patch
pypi/generaltranslation: patch
pypi/generaltranslation-icu-messageformat-parser: patch
pypi/generaltranslation-intl-messageformat: patch
pypi/generaltranslation-supported-locales: patch
pypi/gt-fastapi: patch
pypi/gt-flask: patch
pypi/gt-i18n: patch
---

test: release