Skip to content

bump version to 1.0.3 #10

bump version to 1.0.3

bump version to 1.0.3 #10

Workflow file for this run

---
name: Release
"on":
release:
types:
- published
push:
tags:
- 'v*'
jobs:
release_to_pypi:
name: Release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/flasky-cli
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Search and replace version
run: |
VERSION="${TAG_NAME//v/}"
sed -i "s/1\.0+versionplaceholder\.1/$VERSION/" pyproject.toml
env:
TAG_NAME: ${{ github.event.release.tag_name }}
- uses: eifinger/setup-rye@v2
with:
enable-cache: true
- name: Build
run: |
rye build --clean
- name: pypi-publish
uses: pypa/[email protected]