Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
e68337a780
|
|||
|
724cd1624e
|
|||
|
e57c2b5ab3
|
@@ -3,7 +3,7 @@ name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
archlinux:
|
||||
@@ -12,5 +12,3 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: heyhusen/archlinux-package-action@v3
|
||||
with:
|
||||
pkgver: ${{ gitea.ref_name }}
|
||||
|
||||
@@ -4,6 +4,7 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
default-run = "crete"
|
||||
publish = ["infra"]
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
[workspace]
|
||||
members = ["xtask"]
|
||||
|
||||
@@ -4,12 +4,16 @@ pkgver=0.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='A tool that takes node and cluster configs and uses it to generate talos configs and render jinja templates'
|
||||
url='https://git.huizinga.dev/infra/crete'
|
||||
license=('GPL')
|
||||
license=('GPL-3.0-or-later')
|
||||
makedepends=('cargo-nightly')
|
||||
depends=()
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
source=()
|
||||
b2sums=()
|
||||
source=('LICENSE')
|
||||
sha256sums=('4bffc7da729013886ae68623c0d6145201b20a495879b589990953b2a27e1fbd')
|
||||
|
||||
pkgver() {
|
||||
cargo info $pkgname | grep -Po '^version: \K[\d\.]+'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
export RUSTUP_TOOLCHAIN=nightly
|
||||
@@ -24,7 +28,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
|
||||
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" "LICENSE"
|
||||
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
|
||||
install -Dm0755 -t "$pkgdir/usr/share/zsh/site-functions" "_$pkgname"
|
||||
install -Dm0644 -t "$pkgdir/usr/share/zsh/site-functions" "_$pkgname"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user