From 470bb1620a7425ae0371635d8b0399f09d82d750 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Tue, 24 Mar 2026 11:10:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20CD:=20=F0=9F=98=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/release.yml | 40 ++++++++++-------------------------- CMakeLists.txt | 2 +- WallReel/Assets/man/man.1 | 2 +- WallReel/Assets/man/man.5 | 2 +- docs/man/man.1.md | 2 +- docs/man/man.5.md | 2 +- 6 files changed, 16 insertions(+), 34 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ead43c5..2050d32 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -14,20 +14,11 @@ jobs: uses: actions/checkout@v4 - name: Extract Version - run: | - RAW_VERSION="${GITHUB_REF#refs/tags/v}" - if [[ "$RAW_VERSION" == *-* ]]; then - echo "PKGVER=${RAW_VERSION%-*}" >> $GITHUB_ENV - echo "PKGREL=${RAW_VERSION##*-}" >> $GITHUB_ENV - else - echo "PKGVER=$RAW_VERSION" >> $GITHUB_ENV - echo "PKGREL=1" >> $GITHUB_ENV - fi - echo "FULL_TAG=$RAW_VERSION" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - name: Generate PKGBUILD run: | - TAR_URL="https://git.uyani.de/Uyanide/WallReel/archive/v${{ env.FULL_TAG }}.tar.gz" + TAR_URL="https://git.uyani.de/Uyanide/WallReel/archive/v${{ env.VERSION }}.tar.gz" wget -qO source.tar.gz "$TAR_URL" SHA256=$(sha256sum source.tar.gz | awk '{print $1}') @@ -35,20 +26,20 @@ jobs: cat << 'EOF' > PKGBUILD # Maintainer: Uyanide pkgname=wallreel - pkgver=${{ env.PKGVER }} - pkgrel=${{ env.PKGREL }} + pkgver=${{ env.VERSION }} + pkgrel=1 pkgdesc="Choose and set desktop wallpapers with customizable themes and actions" arch=('x86_64') url="https://git.uyani.de/Uyanide/WallReel" license=('MIT') depends=('qt6-base' 'qt6-declarative' 'gcc-libs' 'glibc') - makedepends=('cmake' 'ninja') - source=("${pkgname}-${pkgver}.tar.gz::https://git.uyani.de/Uyanide/WallReel/archive/v${{ env.FULL_TAG }}.tar.gz") + makedepends=('cmake') + source=("${pkgname}-${pkgver}.tar.gz::https://git.uyani.de/Uyanide/WallReel/archive/v${pkgver}.tar.gz") sha256sums=('INSERT_SHA256_HERE') build() { cd "wallreel" - cmake -B build -S . -G Ninja \ + cmake -B build -S . \ -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ -Wno-dev @@ -73,7 +64,7 @@ jobs: pacman-key --init && pacman-key --populate pacman -Sy --noconfirm archlinux-keyring - pacman -Su --noconfirm base-devel cmake ninja qt6-base qt6-declarative sudo + pacman -Su --noconfirm base-devel cmake qt6-base qt6-declarative sudo useradd -m builduser chown -R builduser:builduser /workspace @@ -100,16 +91,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Extract Version - run: | - RAW_VERSION="${GITHUB_REF#refs/tags/v}" - if [[ "$RAW_VERSION" == *-* ]]; then - echo "PKGVER=${RAW_VERSION%-*}" >> $GITHUB_ENV - echo "PKGREL=${RAW_VERSION##*-}" >> $GITHUB_ENV - else - echo "PKGVER=$RAW_VERSION" >> $GITHUB_ENV - echo "PKGREL=1" >> $GITHUB_ENV - fi - echo "FULL_TAG=$RAW_VERSION" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - name: Download Artifacts uses: actions/download-artifact@v3 @@ -120,7 +102,7 @@ jobs: - name: Publish to Gitea Release uses: softprops/action-gh-release@v1 with: - name: WallReel ${{ env.FULL_TAG }} + name: WallReel ${{ env.VERSION }} draft: false prerelease: false files: "*.pkg.tar.zst" @@ -159,5 +141,5 @@ jobs: EOF git add PKGBUILD LICENSE .SRCINFO - git commit -m "Release v${{ env.FULL_TAG }}" + git commit -m "Release v${{ env.VERSION }}" git push origin master diff --git a/CMakeLists.txt b/CMakeLists.txt index c4d43d5..a9e1d22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -project(WallReel VERSION 2.0.0 LANGUAGES CXX) +project(WallReel VERSION 2.0.1 LANGUAGES CXX) set(EXECUTABLE_NAME "wallreel") set(CORELIB_NAME "wallreel-core") diff --git a/WallReel/Assets/man/man.1 b/WallReel/Assets/man/man.1 index ac1dd32..8575b45 100644 --- a/WallReel/Assets/man/man.1 +++ b/WallReel/Assets/man/man.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.5 .\" -.TH "WALLREEL" "1" "2026\-03\-24" "WallReel 2.0.0" "User Commands" +.TH "WALLREEL" "1" "2026\-03\-24" "WallReel 2.0.1" "User Commands" .SH NAME wallreel \- Choose and set desktop wallpapers with customizable themes and actions diff --git a/WallReel/Assets/man/man.5 b/WallReel/Assets/man/man.5 index 8e95360..5d887e0 100644 --- a/WallReel/Assets/man/man.5 +++ b/WallReel/Assets/man/man.5 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.5 .\" -.TH "WALLREEL" "5" "2026\-03\-24" "WallReel 2.0.0" "File Formats Manual" +.TH "WALLREEL" "5" "2026\-03\-24" "WallReel 2.0.1" "File Formats Manual" .SH NAME wallreel\-config \- configuration format for wallreel .SH SYNOPSIS diff --git a/docs/man/man.1.md b/docs/man/man.1.md index aee506a..767c03c 100644 --- a/docs/man/man.1.md +++ b/docs/man/man.1.md @@ -2,7 +2,7 @@ title: WALLREEL section: 1 header: User Commands -footer: WallReel 2.0.0 +footer: WallReel 2.0.1 date: 2026-03-24 --- diff --git a/docs/man/man.5.md b/docs/man/man.5.md index 94fb9e1..73adbc0 100644 --- a/docs/man/man.5.md +++ b/docs/man/man.5.md @@ -2,7 +2,7 @@ title: WALLREEL section: 5 header: File Formats Manual -footer: WallReel 2.0.0 +footer: WallReel 2.0.1 date: 2026-03-24 ---