Skip to content

Fix dev script (#698) #557

Fix dev script (#698)

Fix dev script (#698) #557

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 }}