From 2ad801f0c1bb0e0597fe835c6be2b09b15bf17c2 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Thu, 2 Oct 2025 01:36:59 +0200 Subject: [PATCH 1/3] Remove release workflow: delete `.gitea/workflows/release.yml` --- .gitea/workflows/release.yml | 149 ----------------------------------- 1 file changed, 149 deletions(-) delete mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml deleted file mode 100644 index 7ae91ab..0000000 --- a/.gitea/workflows/release.yml +++ /dev/null @@ -1,149 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -jobs: - build: - name: Build ${{ matrix.target }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - include: - # Linux - - os: ubuntu-latest - target: x86_64-unknown-linux-gnu - artifact_name: owlen-linux-x86_64-gnu - - os: ubuntu-latest - target: x86_64-unknown-linux-musl - artifact_name: owlen-linux-x86_64-musl - - os: ubuntu-latest - target: aarch64-unknown-linux-gnu - artifact_name: owlen-linux-aarch64-gnu - - os: ubuntu-latest - target: aarch64-unknown-linux-musl - artifact_name: owlen-linux-aarch64-musl - - os: ubuntu-latest - target: armv7-unknown-linux-gnueabihf - artifact_name: owlen-linux-armv7-gnu - - os: ubuntu-latest - target: armv7-unknown-linux-musleabihf - artifact_name: owlen-linux-armv7-musl - # Windows - - os: windows-latest - target: x86_64-pc-windows-msvc - artifact_name: owlen-windows-x86_64 - - os: windows-latest - target: aarch64-pc-windows-msvc - artifact_name: owlen-windows-aarch64 - # macOS - - os: macos-latest - target: x86_64-apple-darwin - artifact_name: owlen-macos-x86_64 - - os: macos-latest - target: aarch64-apple-darwin - artifact_name: owlen-macos-aarch64 - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install Rust - uses: https://github.com/dtolnay/rust-toolchain@stable - with: - targets: ${{ matrix.target }} - - - name: Install cross-compilation tools (Linux) - if: runner.os == 'Linux' - run: | - sudo apt-get update - sudo apt-get install -y musl-tools gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf - - - name: Build - shell: bash - run: | - case "${{ matrix.target }}" in - aarch64-unknown-linux-gnu) - export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc - ;; - aarch64-unknown-linux-musl) - export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc - export CC_aarch64_unknown_linux_musl=aarch64-linux-gnu-gcc - ;; - armv7-unknown-linux-gnueabihf) - export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc - ;; - armv7-unknown-linux-musleabihf) - export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-gcc - export CC_armv7_unknown_linux_musleabihf=arm-linux-gnueabihf-gcc - ;; - esac - cargo build --release --all-features --target ${{ matrix.target }} - - - name: Package binaries (Unix) - if: runner.os != 'Windows' - run: | - mkdir -p dist - cp target/${{ matrix.target }}/release/owlen dist/owlen - cp target/${{ matrix.target }}/release/owlen-code dist/owlen-code - cd dist - tar czf ${{ matrix.artifact_name }}.tar.gz owlen owlen-code - cd .. - mv dist/${{ matrix.artifact_name }}.tar.gz . - - - name: Package binaries (Windows) - if: runner.os == 'Windows' - shell: bash - run: | - mkdir -p dist - cp target/${{ matrix.target }}/release/owlen.exe dist/owlen.exe - cp target/${{ matrix.target }}/release/owlen-code.exe dist/owlen-code.exe - cd dist - 7z a -tzip ../${{ matrix.artifact_name }}.zip owlen.exe owlen-code.exe - - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.artifact_name }} - path: | - ${{ matrix.artifact_name }}.tar.gz - ${{ matrix.artifact_name }}.zip - - release: - name: Create Release - needs: build - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Download all artifacts - uses: actions/download-artifact@v4 - with: - path: artifacts - - - name: Create source tarball - run: | - git archive --format=tar.gz --prefix=owlen/ -o owlen-${{ github.ref_name }}.tar.gz ${{ github.ref_name }} - - - name: Generate checksums - shell: bash - run: | - cd artifacts - find . -name "*.tar.gz" -exec mv {} . \; 2>/dev/null || true - find . -name "*.zip" -exec mv {} . \; 2>/dev/null || true - cd .. - mv artifacts/*.tar.gz . 2>/dev/null || true - mv artifacts/*.zip . 2>/dev/null || true - sha256sum *.tar.gz *.zip > checksums.txt 2>/dev/null || sha256sum * > checksums.txt - - - name: Create Release - uses: https://gitea.com/gitea/release-action@main - with: - files: | - *.tar.gz - *.zip - checksums.txt - api_key: ${{ secrets.RELEASE_TOKEN }} -- 2.52.0 From e468658d63b75ab4af8a57503674bd8ab9ed2d03 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Thu, 2 Oct 2025 01:37:15 +0200 Subject: [PATCH 2/3] Bump version to 0.1.5 in Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c8caf91..828e377 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ exclude = [] [workspace.package] -version = "0.1.0" +version = "0.1.5" edition = "2021" authors = ["Owlibou"] license = "AGPL-3.0" -- 2.52.0 From dcbfe6ef06c73f0359bf7016a54fc7093c0f57b3 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Thu, 2 Oct 2025 01:37:44 +0200 Subject: [PATCH 3/3] Update README: bump version to 0.1.5 in Alpha Status section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d921725..e049967 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ## Alpha Status -- This project is currently in **alpha** (v0.1.0) and under active development. +- This project is currently in **alpha** (v0.1.5) and under active development. - Core features are functional but expect occasional bugs and missing polish. - Breaking changes may occur between releases as we refine the API. - Feedback, bug reports, and contributions are very welcome! -- 2.52.0