Compare commits

..

2 commits

Author SHA1 Message Date
2dbe3da892
chore(release): release artifactview v0.2.0 2024-06-14 03:51:24 +02:00
031814f7f4
ci: fix changelog 2024-06-14 03:51:11 +02:00

View file

@ -55,7 +55,11 @@ jobs:
tar -cJf dist/artifactview-x86_64-${{ github.ref_name }}.tar.xz -C target/x86_64-unknown-linux-gnu/release artifactview tar -cJf dist/artifactview-x86_64-${{ github.ref_name }}.tar.xz -C target/x86_64-unknown-linux-gnu/release artifactview
tar -cJf dist/artifactview-aarch64-${{ github.ref_name }}.tar.xz -C target/aarch64-unknown-linux-gnu/release artifactview tar -cJf dist/artifactview-aarch64-${{ github.ref_name }}.tar.xz -C target/aarch64-unknown-linux-gnu/release artifactview
awk 'BEGINFILE{print "CHANGELOG=<<EOF"}; BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }; ENDFILE {print "EOF"}' CHANGELOG.md >> "$GITHUB_ENV" {
echo 'CHANGELOG<<END_OF_FILE'
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' CHANGELOG.md
echo END_OF_FILE
} >> "$GITHUB_ENV"
- name: 🎉 Publish release - name: 🎉 Publish release
if: ${{ startsWith(github.ref, 'refs/tags/v') }} if: ${{ startsWith(github.ref, 'refs/tags/v') }}