You've already forked open-video-downloader-bin
Compare commits
3 Commits
5146f33bdd
...
6d37d7d140
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d37d7d140 | |||
| d92de932d2 | |||
| 9b6536d2dc |
4
.SRCINFO
4
.SRCINFO
@@ -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
|
||||||
|
|||||||
32
.gitea/workflows/update.yaml
Normal file
32
.gitea/workflows/update.yaml
Normal 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 }}
|
||||||
2
PKGBUILD
2
PKGBUILD
@@ -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"
|
||||||
|
|||||||
2
push.sh
2
push.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user