Skip to content

Commit

Permalink
auto release GH releases via workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cars10 committed Sep 18, 2024
1 parent 1431be9 commit 698860e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ jobs:

- uses: actions/checkout@v4

- name: Extract changelog for latest version - just for testing, so the pipeline fails earily if it breaks
if: matrix.platform == 'ubuntu-latest'
id: changelog
run: |
# Extract the changelog for the latest version and trim blank lines
CHANGELOG=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {if (p) exit; p=1; next} p' CHANGELOG.md | sed '/^[[:space:]]*$/d')
# Output the extracted changelog for debugging
echo "$CHANGELOG"
# Save output
echo 'changelog<<EOF' >> $GITHUB_OUTPUT
echo "$CHANGELOG" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- uses: actions/setup-node@v4
with:
node-version: '22.5.1'
Expand Down Expand Up @@ -205,7 +189,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
draft: false
prerelease: false
tag: ${{ github.ref_name }}
name: ${{ github.ref_name }}
Expand Down

0 comments on commit 698860e

Please sign in to comment.