Skip to content

Commit

Permalink
Merge pull request #42 from Liam-Deacon/fix/fix-release-drafter-config
Browse files Browse the repository at this point in the history
!fixup: fix release drafer config
  • Loading branch information
Liam-Deacon authored Jan 15, 2024
2 parents bd3f645 + 2d33863 commit 5ee03e7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@ permissions:

jobs:

# TODO: Automatically determine version for release-drafter
# tag-new-versions:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 2
# - uses: salsify/action-detect-and-tag-new-version@v2
# with:
# version-command: |
# python3 -c "import phaseshifts; print(phaseshifts.__version__)"
tag-new-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: salsify/action-detect-and-tag-new-version@v2
with:
version-command: |
python3 -c "import phaseshifts; print(phaseshifts.__version__)"
update_release_draft:
permissions:
Expand All @@ -42,7 +41,8 @@ jobs:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
with:
version: {{ jobs.tag-new-versions.outputs. }}
# TODO: Automatically determine version for release-drafter
# with:
# version: {{ jobs.tag-new-versions.outputs. }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5ee03e7

Please sign in to comment.