From 5081f781911647a8716b4082598a2bb575db5adb Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Fri, 12 Jul 2024 13:23:40 -0400 Subject: [PATCH] ci(release): fix latest and prerelease tags --- .github/workflows/build-repo.yml | 4 ++-- README.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-repo.yml b/.github/workflows/build-repo.yml index ccdea64..e6e0b53 100644 --- a/.github/workflows/build-repo.yml +++ b/.github/workflows/build-repo.yml @@ -172,8 +172,8 @@ jobs: artifacts: repo/* bodyFile: README.md commit: master - makeLatest: ${{ matrix.repo == 'lizardbyte' && 'true' || 'false' }} + makeLatest: ${{ matrix.release_name == 'stable' || false }} name: ${{ matrix.release_name }} - prerelease: false + prerelease: ${{ matrix.release_name == 'beta' || false }} tag: ${{ matrix.release_name }} token: ${{ secrets.GH_BOT_TOKEN }} diff --git a/README.md b/README.md index b3c4338..c59f0f2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # LizardByte's Pacman Repository +[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/LizardByte/pacman-repo/build-repo.yml?branch=master&event=schedule&style=for-the-badge&logo=github)](https://github.com/LizardByte/pacman-repo/actions/workflows/build-repo.yml?query=event%3Aschedule+branch%3Amaster) +[![GitHub Downloads (all assets, specific tag)](https://img.shields.io/github/downloads/LizardByte/pacman-repo/beta/total?style=for-the-badge&logo=archlinux&label=daily%20downloads%40beta)](https://github.com/LizardByte/pacman-repo/releases/tag/beta) +[![GitHub Downloads (all assets, specific tag)](https://img.shields.io/github/downloads/LizardByte/pacman-repo/latest/total?style=for-the-badge&logo=archlinux&label=daily%20downloads%40latest)](https://github.com/LizardByte/pacman-repo/releases/latest) + Repository of Arch Linux packages for LizardByte packages. > [!CAUTION]