Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: GeoThai/python-library

Tags

v2.0.1

Toggle v2.0.1's commit message
ci: switch PyPI publish to OIDC and fix release tagging

- Drop PYPI_API_TOKEN; rely on Trusted Publisher (id-token + pypi env
  already configured).
- Read version from pyproject.toml and skip publish if the version is
  already on PyPI (avoids failing runs on every push to main).
- Tag the release commit as v<version> and create the GitHub release
  with that tag and auto-generated notes (previously used
  github.ref_name which resolves to "main" under workflow_run).
- Bump runner Python to 3.11 so tomllib is available.

v2.0.0

Toggle v2.0.0's commit message
ci: update Python setup and artifact actions in workflows

v0.1.0

Toggle v0.1.0's commit message
ci: adjust publish workflow trigger and conditions

- Updated trigger from 
elease and workflow_dispatch to push.
- Removed conditional check for tag refs in the pypi-publish job.

main

Toggle main's commit message
ci: adjust publish workflow trigger and conditions

- Updated trigger from 
elease and workflow_dispatch to push.
- Removed conditional check for tag refs in the pypi-publish job.