From a8a00ba0f7ecabc1073723b8f0a6e0a7328cb4c7 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Fri, 6 Feb 2026 09:48:14 +0100 Subject: [PATCH] Simplify artifact packaging and update release notes This commit simplifies the artifact packaging process by creating a single tar.gz file containing all binaries for each platform, instead of individual files. It also updates the release notes to reflect the new packaging approach and corrects the documentation to use the new naming convention 'obitools4' instead of ''. --- .github/workflows/release.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd1cfae..5e419df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,10 +77,8 @@ jobs: run: | make obitools mkdir -p artifacts - cd build - for binary in *; do - tar -czf ../artifacts/${binary}_${VERSION}_${{ matrix.output_name }}.tar.gz ${binary} - done + # Create a single tar.gz with all binaries for this platform + tar -czf artifacts/obitools4_${VERSION}_${{ matrix.output_name }}.tar.gz -C build . - name: Upload artifacts uses: actions/upload-artifact@v4 @@ -138,29 +136,29 @@ jobs: echo "" >> release_notes.md echo "## Installation" >> release_notes.md echo "" >> release_notes.md - echo "Download the appropriate binary for your system and extract it:" >> release_notes.md + echo "Download the appropriate archive for your system and extract it:" >> release_notes.md echo "" >> release_notes.md echo "### Linux (AMD64)" >> release_notes.md echo '```bash' >> release_notes.md - echo "tar -xzf _${VERSION}_linux_amd64.tar.gz" >> release_notes.md + echo "tar -xzf obitools4_${VERSION}_linux_amd64.tar.gz" >> release_notes.md echo '```' >> release_notes.md echo "" >> release_notes.md echo "### Linux (ARM64)" >> release_notes.md echo '```bash' >> release_notes.md - echo "tar -xzf _${VERSION}_linux_arm64.tar.gz" >> release_notes.md + echo "tar -xzf obitools4_${VERSION}_linux_arm64.tar.gz" >> release_notes.md echo '```' >> release_notes.md echo "" >> release_notes.md echo "### macOS (Intel)" >> release_notes.md echo '```bash' >> release_notes.md - echo "tar -xzf _${VERSION}_darwin_amd64.tar.gz" >> release_notes.md + echo "tar -xzf obitools4_${VERSION}_darwin_amd64.tar.gz" >> release_notes.md echo '```' >> release_notes.md echo "" >> release_notes.md echo "### macOS (Apple Silicon)" >> release_notes.md echo '```bash' >> release_notes.md - echo "tar -xzf _${VERSION}_darwin_arm64.tar.gz" >> release_notes.md + echo "tar -xzf obitools4_${VERSION}_darwin_arm64.tar.gz" >> release_notes.md echo '```' >> release_notes.md echo "" >> release_notes.md - echo "Available tools: Replace \`\` with one of the obitools commands." >> release_notes.md + echo "All OBITools4 binaries are included in each archive." >> release_notes.md - name: Create GitHub Release uses: softprops/action-gh-release@v1