Bump to version 0.12.0
Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
parent
5f50c44ff1
commit
b4cb91d064
2 changed files with 9 additions and 11 deletions
7
.SRCINFO
7
.SRCINFO
|
@ -1,14 +1,13 @@
|
||||||
pkgbase = oras
|
pkgbase = oras
|
||||||
pkgdesc = A command line tool that allows you to push and pull files from any OCI registry
|
pkgdesc = A command line tool that allows you to push and pull files from any OCI registry
|
||||||
pkgver = 0.9.0
|
pkgver = 0.12.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/deislabs/oras
|
url = https://github.com/deislabs/oras
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = go
|
makedepends = go
|
||||||
makedepends = git
|
makedepends = git
|
||||||
source = oras-0.9.0.tar.gz::https://github.com/deislabs/oras/archive/v0.9.0.tar.gz
|
source = oras-0.12.0.tar.gz::https://github.com/oras-project/oras/archive/v0.12.0.tar.gz
|
||||||
sha512sums = 2bd3538eb250e41ac2ebd198cb7ca33971a63e7107808a09391ed1b67eae163d9c2f60d2aeef5dcdcd3b9f423820bc00841a5a120b6e0dce018dafadc88e0d6d
|
sha512sums = 589324805c38f485ecb0122e35984cd6d7b87150c2e67d36bb3ca759750b9ccc9a4803aea9c56c4cbbfb19c914fe7a077d9d091b70b54babc446ac01d3bc2091
|
||||||
|
|
||||||
pkgname = oras
|
pkgname = oras
|
||||||
|
|
||||||
|
|
13
PKGBUILD
13
PKGBUILD
|
@ -1,15 +1,14 @@
|
||||||
# Maintainer: David Birks <david@tellus.space>
|
# Maintainer: Xuanwo <xuanwo@archlinuxcn.org>
|
||||||
|
|
||||||
pkgname=oras
|
pkgname=oras
|
||||||
pkgver=0.9.0
|
pkgver=0.12.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A command line tool that allows you to push and pull files from any OCI registry'
|
pkgdesc='A command line tool that allows you to push and pull files from any OCI registry'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://github.com/deislabs/oras'
|
url='https://github.com/deislabs/oras'
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
makedepends=('go' 'git')
|
makedepends=('go' 'git')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/deislabs/oras/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/oras-project/oras/archive/v$pkgver.tar.gz")
|
||||||
sha512sums=('2bd3538eb250e41ac2ebd198cb7ca33971a63e7107808a09391ed1b67eae163d9c2f60d2aeef5dcdcd3b9f423820bc00841a5a120b6e0dce018dafadc88e0d6d')
|
sha512sums=('589324805c38f485ecb0122e35984cd6d7b87150c2e67d36bb3ca759750b9ccc9a4803aea9c56c4cbbfb19c914fe7a077d9d091b70b54babc446ac01d3bc2091')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# Flags to trim path from binary
|
# Flags to trim path from binary
|
||||||
|
@ -18,8 +17,8 @@ build() {
|
||||||
export VERSION=$pkgver
|
export VERSION=$pkgver
|
||||||
|
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -v \
|
GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build \
|
||||||
-o bin/linux/amd64/oras github.com/deislabs/oras/cmd/oras
|
-o bin/linux/amd64/oras github.com/oras-project/oras/cmd/oras
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue