Compare commits

..

6 Commits

Author SHA1 Message Date
Eric Coissac
a8a00ba0f7 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 '<tool>'.
2026-02-06 09:48:25 +01:00
coissac
1595a74ada Merge pull request #77 from metabarcoding/push-lwtnswxmorrq
Push lwtnswxmorrq
2026-02-06 09:35:05 +01:00
Eric Coissac
68d723ecba Bump version to 4.4.9
Update version from 4.4.8 to 4.4.9 in version.txt and corresponding Go file.
2026-02-06 09:34:43 +01:00
Eric Coissac
250d616129 Mise à jour des workflows de release pour les nouvelles versions d'OS
Mise à jour du workflow de release pour utiliser ubuntu-24.04-arm au lieu de ubuntu-latest pour ARM64, et macos-15-intel au lieu de macos-latest pour macOS. Suppression de la compilation croisée pour ARM64 et ajustement de l'installation des outils de build pour macOS.
2026-02-06 09:34:41 +01:00
coissac
fbf816d219 Merge pull request #76 from metabarcoding/push-tzpmmnnxkvxx
Push tzpmmnnxkvxx
2026-02-06 09:09:05 +01:00
Eric Coissac
7f0133a196 Bump version to 4.4.8
Update version from 4.4.7 to 4.4.8 in version.txt and _Version variable.
2026-02-06 09:08:35 +01:00
3 changed files with 17 additions and 20 deletions

View File

@@ -32,12 +32,11 @@ jobs:
goos: linux goos: linux
goarch: amd64 goarch: amd64
output_name: linux_amd64 output_name: linux_amd64
- os: ubuntu-latest - os: ubuntu-24.04-arm
goos: linux goos: linux
goarch: arm64 goarch: arm64
output_name: linux_arm64 output_name: linux_arm64
cross_compile: true - os: macos-15-intel
- os: macos-latest
goos: darwin goos: darwin
goarch: amd64 goarch: amd64
output_name: darwin_amd64 output_name: darwin_amd64
@@ -63,25 +62,23 @@ jobs:
TAG=${GITHUB_REF#refs/tags/Release_} TAG=${GITHUB_REF#refs/tags/Release_}
echo "version=$TAG" >> $GITHUB_OUTPUT echo "version=$TAG" >> $GITHUB_OUTPUT
- name: Install cross-compilation tools (Linux ARM64 only) - name: Install build tools (macOS)
if: matrix.cross_compile if: runner.os == 'macOS'
run: | run: |
sudo apt-get update # Ensure Xcode Command Line Tools are installed
sudo apt-get install -y gcc-aarch64-linux-gnu xcode-select --install 2>/dev/null || true
xcode-select -p
- name: Build binaries - name: Build binaries
env: env:
GOOS: ${{ matrix.goos }} GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }} GOARCH: ${{ matrix.goarch }}
CC: ${{ matrix.cross_compile && 'aarch64-linux-gnu-gcc' || '' }}
VERSION: ${{ steps.get_version.outputs.version }} VERSION: ${{ steps.get_version.outputs.version }}
run: | run: |
make obitools make obitools
mkdir -p artifacts mkdir -p artifacts
cd build # Create a single tar.gz with all binaries for this platform
for binary in *; do tar -czf artifacts/obitools4_${VERSION}_${{ matrix.output_name }}.tar.gz -C build .
tar -czf ../artifacts/${binary}_${VERSION}_${{ matrix.output_name }}.tar.gz ${binary}
done
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@@ -139,29 +136,29 @@ jobs:
echo "" >> release_notes.md echo "" >> release_notes.md
echo "## Installation" >> release_notes.md echo "## Installation" >> release_notes.md
echo "" >> 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 "" >> release_notes.md
echo "### Linux (AMD64)" >> release_notes.md echo "### Linux (AMD64)" >> release_notes.md
echo '```bash' >> release_notes.md echo '```bash' >> release_notes.md
echo "tar -xzf <tool>_${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 "" >> release_notes.md echo "" >> release_notes.md
echo "### Linux (ARM64)" >> release_notes.md echo "### Linux (ARM64)" >> release_notes.md
echo '```bash' >> release_notes.md echo '```bash' >> release_notes.md
echo "tar -xzf <tool>_${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 "" >> release_notes.md echo "" >> release_notes.md
echo "### macOS (Intel)" >> release_notes.md echo "### macOS (Intel)" >> release_notes.md
echo '```bash' >> release_notes.md echo '```bash' >> release_notes.md
echo "tar -xzf <tool>_${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 "" >> release_notes.md echo "" >> release_notes.md
echo "### macOS (Apple Silicon)" >> release_notes.md echo "### macOS (Apple Silicon)" >> release_notes.md
echo '```bash' >> release_notes.md echo '```bash' >> release_notes.md
echo "tar -xzf <tool>_${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 "" >> release_notes.md echo "" >> release_notes.md
echo "Available tools: Replace \`<tool>\` 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 - name: Create GitHub Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1

View File

@@ -3,7 +3,7 @@ package obioptions
// Version is automatically updated by the Makefile from version.txt // Version is automatically updated by the Makefile from version.txt
// The patch number (third digit) is incremented on each push to the repository // The patch number (third digit) is incremented on each push to the repository
var _Version = "Release 4.4.7" var _Version = "Release 4.4.9"
// Version returns the version of the obitools package. // Version returns the version of the obitools package.
// //

View File

@@ -1 +1 @@
4.4.7 4.4.9