Skip to content

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#673) #530

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#673)

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#673) #530

name: Release Drafter
on:
push:
branches:
- main
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up python
uses: actions/[email protected]
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools
- name: Get version
id: get_version
run: echo version=$(python setup.py --version) >> $GITHUB_OUTPUT
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ steps.get_version.outputs.version }}
name: ${{ steps.get_version.outputs.version }}