Compare commits

...

3 Commits

Author SHA1 Message Date
6d37d7d140 -bin suffix
All checks were successful
Update Package Version / update (push) Successful in 6s
2026-04-10 18:35:49 +02:00
d92de932d2 no updates is not an error 2026-04-10 15:57:08 +02:00
9b6536d2dc added workflow 2026-04-10 15:46:33 +02:00
4 changed files with 36 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
pkgbase = open-video-downloader pkgbase = open-video-downloader-bin
pkgdesc = A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript pkgdesc = A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript
pkgver = 3.2.0 pkgver = 3.2.0
pkgrel = 1 pkgrel = 1
@@ -14,4 +14,4 @@ pkgbase = open-video-downloader
source = open-video-downloader-3.2.0.deb::https://github.com/jely2002/youtube-dl-gui/releases/download/app-v3.2.0/Open.Video.Downloader_3.2.0_amd64.deb source = open-video-downloader-3.2.0.deb::https://github.com/jely2002/youtube-dl-gui/releases/download/app-v3.2.0/Open.Video.Downloader_3.2.0_amd64.deb
sha256sums = 2a0190508c5b80d2801765073385439bf6dac7749473c19f842fbd5067f18e15 sha256sums = 2a0190508c5b80d2801765073385439bf6dac7749473c19f842fbd5067f18e15
pkgname = open-video-downloader pkgname = open-video-downloader-bin

View File

@@ -0,0 +1,32 @@
---
name: Update Package Version
concurrency:
group: update-package-version
cancel-in-progress: false
on:
schedule:
- cron: "0 0 * * *"
defaults:
run:
shell: bash
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config --global user.name "${GIT_NAME}"
git config --global user.email "${GIT_EMAIL}"
git config --global credential.helper store
echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials
source PKGBUILD
./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|app-v||')
env:
GIT_NAME: ${{ secrets.GIT_NAME }}
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}

View File

@@ -4,7 +4,7 @@ _pkgname="open-video-downloader"
_srcname="youtube-dl-gui" _srcname="youtube-dl-gui"
_srcmntr="jely2002" _srcmntr="jely2002"
pkgname="${_pkgname}" pkgname="${_pkgname}-bin"
pkgver="3.2.0" pkgver="3.2.0"
pkgrel="1" pkgrel="1"
pkgdesc="A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript" pkgdesc="A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript"

View File

@@ -17,7 +17,7 @@ fi
# Check version # Check version
if [ "${pkgver}" = "${oldver}" ] && [ -z "${FORCE_REBUILD}" ]; then if [ "${pkgver}" = "${oldver}" ] && [ -z "${FORCE_REBUILD}" ]; then
echo >/dev/stderr "Error: same (old) version specified - update aborted" echo >/dev/stderr "Error: same (old) version specified - update aborted"
exit 1 exit
fi fi
# Get variables from PKGBUILD # Get variables from PKGBUILD