From ae1100e5ce7249b5dcd329bac1354e15133b69c5 Mon Sep 17 00:00:00 2001 From: Mohamed Achaq Date: Mon, 16 Dec 2024 08:49:58 +0100 Subject: [PATCH] chore: remove windows temporary --- .github/workflows/package-managers.yml | 90 -------------------------- .github/workflows/release.yml | 17 +---- CHANGELOG.md | 8 +-- 3 files changed, 2 insertions(+), 113 deletions(-) diff --git a/.github/workflows/package-managers.yml b/.github/workflows/package-managers.yml index 441dfb3..09fc375 100644 --- a/.github/workflows/package-managers.yml +++ b/.github/workflows/package-managers.yml @@ -56,96 +56,6 @@ jobs: --head triyanox:update-macports env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - scoop: - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - - name: Create Scoop manifest - run: | - mkdir -p scoop - # Create manifest file - cat > scoop/lla.json << EOF - { - "version": "${{ github.event.release.tag_name }}", - "description": "A modern and extensible log analysis CLI tool", - "homepage": "https://github.com/triyanox/lla", - "license": "MIT", - "architecture": { - "64bit": { - "url": "https://github.com/triyanox/lla/releases/download/${{ github.event.release.tag_name }}/lla-windows-amd64.exe", - "bin": "lla-windows-amd64.exe" - } - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://github.com/triyanox/lla/releases/download/v$version/lla-windows-amd64.exe" - } - } - } - } - EOF - - - name: Create Pull Request for Scoop - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "lla: update to ${{ github.event.release.tag_name }}" - title: "lla: update to ${{ github.event.release.tag_name }}" - body: | - Update lla to version ${{ github.event.release.tag_name }} - branch: update-scoop - base: master - - - name: Create PR in Scoop - run: | - gh repo fork ScoopInstaller/Main --clone=false - gh pr create --repo ScoopInstaller/Main \ - --title "lla: update to ${{ github.event.release.tag_name }}" \ - --body "Update lla to version ${{ github.event.release.tag_name }}" \ - --base master \ - --head triyanox:update-scoop - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - winget: - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - - name: Create Winget manifest - run: | - mkdir -p winget-manifests/l/lla/lla - cat > winget-manifests/l/lla/lla/manifest.yaml << EOF - PackageIdentifier: lla.lla - PackageVersion: ${{ github.event.release.tag_name }} - PackageName: lla - Publisher: triyanox - License: MIT - ShortDescription: A modern and extensible log analysis CLI tool - PackageUrl: https://github.com/triyanox/lla - Installers: - - Architecture: x64 - InstallerUrl: https://github.com/triyanox/lla/releases/download/${{ github.event.release.tag_name }}/lla-windows-amd64.exe - InstallerType: portable - InstallerSha256: ${{ github.event.release.assets[0].sha256 }} - ManifestType: singleton - ManifestVersion: 1.0.0 - EOF - - - name: Create PR in Winget - run: | - gh repo fork microsoft/winget-pkgs --clone=false - gh pr create --repo microsoft/winget-pkgs \ - --title "Add lla ${{ github.event.release.tag_name }}" \ - --body "Add lla version ${{ github.event.release.tag_name }}" \ - --base master \ - --head triyanox:add-lla - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - nix: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b571032..53fb2ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,17 +75,6 @@ jobs: target: aarch64-apple-darwin artifact_name: lla-macos-arm64 - # Windows builds - - os: windows-latest - target: x86_64-pc-windows-msvc - artifact_name: lla-windows-amd64.exe - - os: windows-latest - target: i686-pc-windows-msvc - artifact_name: lla-windows-i686.exe - - os: windows-latest - target: aarch64-pc-windows-msvc - artifact_name: lla-windows-arm64.exe - steps: - uses: actions/checkout@v4 @@ -123,11 +112,7 @@ jobs: - name: Prepare binary run: | - if [ "${{ runner.os }}" = "Windows" ]; then - cp target/${{ matrix.target }}/release/lla.exe ${{ matrix.artifact_name }} - else - cp target/${{ matrix.target }}/release/lla ${{ matrix.artifact_name }} - fi + cp target/${{ matrix.target }}/release/lla ${{ matrix.artifact_name }} - name: Upload artifact uses: actions/upload-artifact@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index e0153e8..009cfdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,13 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New configuration option `theme` - An extensive theming preset library - Add the `--no-color` flag to disable color output, and works will all listing formats -- New package managers support: - - - Flatpak - - Debian - - Scoop - - Winget - +- New package managers support - Include window builds in the releases ### Fixed