feat: update gitea-act-runner use git
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-03-24 21:12:31 +01:00
parent f8a3a0c361
commit c98e56db69
2 changed files with 10 additions and 11 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gitea-act-runner pkgbase = gitea-act-runner
pkgdesc = A runner for Gitea based on act. pkgdesc = A runner for Gitea based on act.
pkgver = 0.0.2 pkgver = r148.c9e076d
pkgrel = 1 pkgrel = 1
url = https://gitea.io url = https://gitea.io
arch = x86_64 arch = x86_64
@ -8,11 +8,11 @@ pkgbase = gitea-act-runner
makedepends = go makedepends = go
makedepends = git makedepends = git
options = !lto options = !lto
source = https://nyyu.dev/sources/act_runner-main.tar.gz source = git+https://gitea.com/gitea/act_runner.git
source = gitea-act-runner.service source = gitea-act-runner.service
source = gitea-act-runner.sysusers source = gitea-act-runner.sysusers
source = gitea-act-runner.tmpfiles source = gitea-act-runner.tmpfiles
sha256sums = 03da58d18c1caa0a3608c038a65a14b77197037ac427b0ca96c3db943337eb40 sha256sums = SKIP
sha256sums = 50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d sha256sums = 50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d
sha256sums = 2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6 sha256sums = 2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6
sha256sums = 93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1 sha256sums = 93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1

View file

@ -1,5 +1,5 @@
pkgname=gitea-act-runner pkgname=gitea-act-runner
pkgver=0.0.2 pkgver=r148.c9e076d
pkgrel=1 pkgrel=1
pkgdesc="A runner for Gitea based on act." pkgdesc="A runner for Gitea based on act."
arch=(x86_64) arch=(x86_64)
@ -7,20 +7,19 @@ url="https://gitea.io"
license=(MIT) license=(MIT)
makedepends=(go git) makedepends=(go git)
options=(!lto) options=(!lto)
source=(#git+https://gitea.com/gitea/act_runner.git source=(git+https://gitea.com/gitea/act_runner.git
https://nyyu.dev/sources/act_runner-main.tar.gz
gitea-act-runner.service gitea-act-runner.service
gitea-act-runner.sysusers gitea-act-runner.sysusers
gitea-act-runner.tmpfiles) gitea-act-runner.tmpfiles)
sha256sums=('03da58d18c1caa0a3608c038a65a14b77197037ac427b0ca96c3db943337eb40' sha256sums=('SKIP'
'50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d' '50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d'
'2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6' '2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6'
'93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1') '93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1')
#pkgver() { pkgver() {
# cd act_runner cd act_runner
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
#} }
build() { build() {
cd ${srcdir}/act_runner cd ${srcdir}/act_runner