Skip to content

Commit

Permalink
ci: add release notes
Browse files Browse the repository at this point in the history
test release
  • Loading branch information
neolynx committed Feb 15, 2025
1 parent 1abb735 commit 45cbf2f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,14 @@ jobs:
run: |
make binaries GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }}
- name: Create Release Notes
run: |
echo "# Changes\n\n" > release-notes.md
dpkg-parsechangelog -S Changes | tail -n +4 >> release-notes.md
- name: "Upload Artifacts"
uses: actions/upload-artifact@v4
if: startsWith(github.event.ref, 'refs/tags')
# if: startsWith(github.event.ref, 'refs/tags')
with:
name: aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
path: build/aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip
Expand All @@ -272,7 +277,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: false
needs: ci-binary-build
if: startsWith(github.event.ref, 'refs/tags')
# if: startsWith(github.event.ref, 'refs/tags')
steps:
- name: "Download Artifacts"
uses: actions/download-artifact@v4
Expand All @@ -283,3 +288,5 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: "out/**/aptly_*.zip"
body_path: "out/release-notes.md"

0 comments on commit 45cbf2f

Please sign in to comment.