1 Commits

Author SHA1 Message Date
Uyanide 470bb1620a 🚀 CD: 😡
CI/CD / Package (push) Successful in 2m26s
CI/CD / Publish (push) Successful in 10s
2026-03-24 11:10:24 +01:00
6 changed files with 16 additions and 34 deletions
+11 -29
View File
@@ -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 <me@uyani.de>
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
+1 -1
View File
@@ -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")
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
---
+1 -1
View File
@@ -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
---