Skip to content

Commit

Permalink
Fixed release
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-kacen committed Oct 3, 2024
1 parent 5a08be3 commit 02e9e69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:
with:
fetch-depth: 0
- name: Generate Release Notes
run: sed -n -e "1{/# /d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > /tmp/release-notes.txt
run: |
sed -n -e "1{/# /d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > /tmp/release-notes.txt
cat /tmp/release-notes.txt
gpg --version
# - uses: actions/upload-artifact@v4
# with:
# name: release-notes
# path: release-notes.txt
# retention-days: 1
- uses: olafurpg/setup-gpg@v3
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
Expand Down

0 comments on commit 02e9e69

Please sign in to comment.