3 Commits

Author SHA1 Message Date
86ddae642f CI: python ins Arch-Image-Dep-Set; v0.1.3
Some checks failed
Release (AppImage + deb + pacman) / AppImage + deb (Ubuntu) (push) Successful in 4m22s
Release (AppImage + deb + pacman) / pacman (Arch) (push) Failing after 7m8s
2026-11-07 13:24:39 +01:00
2f7b4f5ced CI: Release-Token via Secret HW_RELEASE_TOKEN; v0.1.2
Some checks failed
Release (AppImage + deb + pacman) / AppImage + deb (Ubuntu) (push) Successful in 4m19s
Release (AppImage + deb + pacman) / pacman (Arch) (push) Failing after 7m9s
2026-11-07 12:54:10 +01:00
b1b33bf3e8 v0.1.2 Trigger-Commit
Some checks failed
Release (AppImage + deb + pacman) / AppImage + deb (Ubuntu) (push) Has been cancelled
Release (AppImage + deb + pacman) / pacman (Arch) (push) Has been cancelled
2026-11-07 12:40:41 +01:00
6 changed files with 16 additions and 12 deletions

View File

@ -8,6 +8,8 @@ jobs:
build-deb-appimage: build-deb-appimage:
name: AppImage + deb (Ubuntu) name: AppImage + deb (Ubuntu)
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
HW_TOKEN: ${{ secrets.HW_RELEASE_TOKEN }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -37,13 +39,13 @@ jobs:
VER=${GITHUB_REF_NAME} VER=${GITHUB_REF_NAME}
API="https://git.wlkns.org/api/v1/repos/wlkns-dev/hoerwerk" API="https://git.wlkns.org/api/v1/repos/wlkns-dev/hoerwerk"
curl -sf -X POST \ curl -sf -X POST \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $HW_TOKEN" \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d "{\"tag_name\":\"$VER\",\"name\":\"Hörwerk $VER\",\"body\":\"Release $VER\",\"draft\":false,\"prerelease\":false}" \ -d "{\"tag_name\":\"$VER\",\"name\":\"Hörwerk $VER\",\"body\":\"Release $VER\",\"draft\":false,\"prerelease\":false}" \
"$API/releases" > /tmp/rel.json || true "$API/releases" > /tmp/rel.json || true
RID=$(cat /tmp/rel.json | python3 -c 'import json,sys; print(json.load(sys.stdin).get("id",""))' 2>/dev/null || echo) RID=$(cat /tmp/rel.json | python3 -c 'import json,sys; print(json.load(sys.stdin).get("id",""))' 2>/dev/null || echo)
if [ -z "$RID" ]; then if [ -z "$RID" ]; then
curl -sf -H "Authorization: token $GITHUB_TOKEN" "$API/releases/tags/$VER" > /tmp/rel.json curl -sf -H "Authorization: token $HW_TOKEN" "$API/releases/tags/$VER" > /tmp/rel.json
RID=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])') RID=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
fi fi
echo "RELEASE_ID=$RID" >> "$GITHUB_ENV" echo "RELEASE_ID=$RID" >> "$GITHUB_ENV"
@ -56,7 +58,7 @@ jobs:
for f in src-tauri/target/release/bundle/appimage/*.AppImage src-tauri/target/release/bundle/deb/*.deb; do for f in src-tauri/target/release/bundle/appimage/*.AppImage src-tauri/target/release/bundle/deb/*.deb; do
echo "Lade $(basename "$f") hoch…" echo "Lade $(basename "$f") hoch…"
curl -sf -X POST \ curl -sf -X POST \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $HW_TOKEN" \
-F "attachment=@$f" \ -F "attachment=@$f" \
"$API/releases/$RELEASE_ID/assets?name=$(basename "$f")" "$API/releases/$RELEASE_ID/assets?name=$(basename "$f")"
done done
@ -64,11 +66,13 @@ jobs:
build-pacman: build-pacman:
name: pacman (Arch) name: pacman (Arch)
runs-on: arch-base-devel runs-on: arch-base-devel
env:
HW_TOKEN: ${{ secrets.HW_RELEASE_TOKEN }}
steps: steps:
- name: Abhängigkeiten (root) - name: Abhängigkeiten (root)
run: | run: |
pacman -Syu --noconfirm --needed \ pacman -Syu --noconfirm --needed \
base-devel git nodejs npm rust gtk3 webkit2gtk-4.1 \ base-devel git nodejs npm rust python gtk3 webkit2gtk-4.1 \
libayatana-appindicator mpv ffmpeg libayatana-appindicator mpv ffmpeg
- name: Checkout - name: Checkout
@ -86,13 +90,13 @@ jobs:
VER=${GITHUB_REF_NAME} VER=${GITHUB_REF_NAME}
API="https://git.wlkns.org/api/v1/repos/wlkns-dev/hoerwerk" API="https://git.wlkns.org/api/v1/repos/wlkns-dev/hoerwerk"
curl -sf -X POST \ curl -sf -X POST \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $HW_TOKEN" \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d "{\"tag_name\":\"$VER\",\"name\":\"Hörwerk $VER\",\"body\":\"Release $VER\",\"draft\":false,\"prerelease\":false}" \ -d "{\"tag_name\":\"$VER\",\"name\":\"Hörwerk $VER\",\"body\":\"Release $VER\",\"draft\":false,\"prerelease\":false}" \
"$API/releases" > /tmp/rel2.json || true "$API/releases" > /tmp/rel2.json || true
RID=$(cat /tmp/rel2.json | python3 -c 'import json,sys; print(json.load(sys.stdin).get("id",""))' 2>/dev/null || echo) RID=$(cat /tmp/rel2.json | python3 -c 'import json,sys; print(json.load(sys.stdin).get("id",""))' 2>/dev/null || echo)
if [ -z "$RID" ]; then if [ -z "$RID" ]; then
curl -sf -H "Authorization: token $GITHUB_TOKEN" "$API/releases/tags/$VER" > /tmp/rel2.json curl -sf -H "Authorization: token $HW_TOKEN" "$API/releases/tags/$VER" > /tmp/rel2.json
RID=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])') RID=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
fi fi
echo "RELEASE_ID=$RID" >> "$GITHUB_ENV" echo "RELEASE_ID=$RID" >> "$GITHUB_ENV"
@ -105,6 +109,6 @@ jobs:
f=$(find . -name "hoerwerk-*.pkg.tar.zst" -type f | head -1) f=$(find . -name "hoerwerk-*.pkg.tar.zst" -type f | head -1)
echo "Lade $(basename "$f") hoch…" echo "Lade $(basename "$f") hoch…"
curl -sf -X POST \ curl -sf -X POST \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $HW_TOKEN" \
-F "attachment=@$f" \ -F "attachment=@$f" \
"$API/releases/$RELEASE_ID/assets?name=$(basename "$f")" "$API/releases/$RELEASE_ID/assets?name=$(basename "$f")"

View File

@ -1,7 +1,7 @@
{ {
"name": "hoerwerk", "name": "hoerwerk",
"private": true, "private": true,
"version": "0.1.1", "version": "0.1.3",
"description": "Hörwerk – lokaler Audible-Hörbuch-Player", "description": "Hörwerk – lokaler Audible-Hörbuch-Player",
"type": "module", "type": "module",
"scripts": { "scripts": {

View File

@ -1,6 +1,6 @@
# Maintainer: Stephan Wilkens # Maintainer: Stephan Wilkens
pkgname=hoerwerk pkgname=hoerwerk
pkgver=0.1.1 pkgver=0.1.3
pkgrel=1 pkgrel=1
pkgdesc='Lokaler Hörbuch-Player für die eigene Audible-Bibliothek (Tauri 2 + Svelte)' pkgdesc='Lokaler Hörbuch-Player für die eigene Audible-Bibliothek (Tauri 2 + Svelte)'
arch=('x86_64') arch=('x86_64')

View File

@ -1,6 +1,6 @@
[package] [package]
name = "hoerwerk" name = "hoerwerk"
version = "0.1.1" version = "0.1.3"
description = "Hörwerk – lokaler Audible-Hörbuch-Player" description = "Hörwerk – lokaler Audible-Hörbuch-Player"
authors = ["Stephan"] authors = ["Stephan"]
edition = "2024" edition = "2024"

View File

@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "hoerwerk", "productName": "hoerwerk",
"version": "0.1.1", "version": "0.1.3",
"identifier": "com.hoerwerk.app", "identifier": "com.hoerwerk.app",
"build": { "build": {
"beforeDevCommand": "npm run dev", "beforeDevCommand": "npm run dev",

View File

@ -893,5 +893,5 @@
{#if error} {#if error}
<span class="statcell statflex error">{error}</span> <span class="statcell statflex error">{error}</span>
{/if} {/if}
<span class="statcell statend">Hörwerk 0.1.1</span> <span class="statcell statend">Hörwerk 0.1.3</span>
</footer> </footer>