Skip to content

Commit

Permalink
Try to fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Dec 27, 2023
1 parent 5800fa0 commit e42e232
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ jobs:
with:
persist-credentials: false

- name: Extract changelog
uses: sean0x42/markdown-extract@v2
id: extract_changelog
with:
file: changelog.md
pattern: '\[${{ steps.version.outputs.version }}\].+'
no-print-matched-heading: true

- name: Validate version
id: version
run: |
Expand All @@ -35,6 +27,14 @@ jobs:
echo version="$(echo "$tag" | sed 's/^v//')" >> "$GITHUB_OUTPUT"
fi
- name: Extract changelog
uses: sean0x42/markdown-extract@v2
id: extract_changelog
with:
file: changelog.md
pattern: '\[${{ steps.version.outputs.version }}\].+'
no-print-matched-heading: true

- name: Create release
if: steps.version.outputs.valid
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit e42e232

Please sign in to comment.