upgpkg: controller v0.3.6

upgpkg: controller-testing v0.3.6
This commit is contained in:
Tobias Reisinger 2020-08-27 12:11:47 +02:00
parent 2534eb239e
commit d6dbe6047c
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-controller-testing
pkgver=0.3.5
pkgver=0.3.6
pkgrel=1
epoch=
pkgdesc=""
@ -19,7 +19,7 @@ source=("https://git.serguzim.me/emgauwa/controller/archive/testing-v$pkgver.tar
"emgauwa-controller-testing.service"
"emgauwa-controller-testing.sysusers"
"emgauwa-controller-testing.tmpfiles")
sha256sums=('af944fea87d0ecb3a4f454c966b2292fddd2d75985e2ed3cda69ba923f9e448a'
sha256sums=('feae844e9d491846104415ffe7ee86e9cbfc46e3c86edc3e11db3ffbb19e1de4'
'5bfbe580ef1a373e3c025f28f3de591ba7ce57c4aba20bd1cc62555043d7bd13'
'0bbc44d680be2011800c553ae863663148be0820f08349993578c88e9a23b143'
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'

View file

@ -1,6 +1,6 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-controller
pkgver=0.3.5
pkgver=0.3.6
pkgrel=1
epoch=
pkgdesc=""
@ -19,7 +19,7 @@ source=("https://git.serguzim.me/emgauwa/controller/archive/v$pkgver.tar.gz"
"emgauwa-controller.service"
"emgauwa-controller.sysusers"
"emgauwa-controller.tmpfiles")
sha256sums=('af944fea87d0ecb3a4f454c966b2292fddd2d75985e2ed3cda69ba923f9e448a'
sha256sums=('feae844e9d491846104415ffe7ee86e9cbfc46e3c86edc3e11db3ffbb19e1de4'
'7d886240280705c26d64dcda6eafd372e8f8e4a17cc85502d788e9195ad8418f'
'8ece4b409d5550cdae23591217e440d8599ebf2175f2a91574c0b069314879a0'
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'

View file

@ -6,7 +6,7 @@ function get_latest_version()
prefix="v"
[ -n "$2" ] && prefix="$2-v"
releases_json=$(curl -sfX GET "https://git.serguzim.me/api/v1/repos/emgauwa/$repo/releases" -H "accept: application/json")
releases_json=$(curl -s "https://git.serguzim.me/api/v1/repos/emgauwa/$repo/releases")
[ $? -ne 0 ] && echo "v0.0.0" && exit
tags=$(echo $releases_json | jq -r ".[] | select(.tag_name | test(\"$prefix*\")).tag_name")