Merge pull request #108 from alexjircan/fix/make-reset-request-journa… #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Drafter | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update_release_draft: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python | |
- name: Get version from pyproject.toml | |
run: echo "VERSION=$(poetry version -s)" >> $GITHUB_ENV | |
- uses: release-drafter/release-drafter@v5 | |
with: | |
name: ${{ env.VERSION }} | |
tag: ${{ env.VERSION }} | |
version: ${{ env.VERSION }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |