Update goreleaser config and scripts for new name/domain
This commit is contained in:
parent
eb976be96e
commit
5f323f45d8
|
@ -31,8 +31,8 @@ nfpms:
|
||||||
386: i386
|
386: i386
|
||||||
amd64: x86_64
|
amd64: x86_64
|
||||||
arm64: aarch64
|
arm64: aarch64
|
||||||
homepage: 'https://gitea.arsenm.dev/Arsen6331/lure'
|
homepage: 'https://gitea.elara.ws/Elara6331/lure'
|
||||||
maintainer: 'Arsen Musayelyan <arsen@arsenm.dev>'
|
maintainer: 'Elara Musayelyan <elara@elara.ws>'
|
||||||
license: GPLv3
|
license: GPLv3
|
||||||
formats:
|
formats:
|
||||||
- apk
|
- apk
|
||||||
|
@ -50,10 +50,10 @@ nfpms:
|
||||||
dst: /usr/share/zsh/site-functions/_lure
|
dst: /usr/share/zsh/site-functions/_lure
|
||||||
aurs:
|
aurs:
|
||||||
- name: linux-user-repository-bin
|
- name: linux-user-repository-bin
|
||||||
homepage: 'https://gitea.arsenm.dev/Arsen6331/lure'
|
homepage: 'https://gitea.elara.ws/Elara6331/lure'
|
||||||
description: "Linux User REpository"
|
description: "Linux User REpository"
|
||||||
maintainers:
|
maintainers:
|
||||||
- 'Arsen Musayelyan <arsen@arsenm.dev>'
|
- 'Elara Musayelyan <elara@elara.ws>'
|
||||||
license: GPLv3
|
license: GPLv3
|
||||||
private_key: '{{ .Env.AUR_KEY }}'
|
private_key: '{{ .Env.AUR_KEY }}'
|
||||||
git_url: 'ssh://aur@aur.archlinux.org/linux-user-repository-bin.git'
|
git_url: 'ssh://aur@aur.archlinux.org/linux-user-repository-bin.git'
|
||||||
|
@ -73,11 +73,11 @@ aurs:
|
||||||
install -Dm755 ./scripts/completion/zsh ${pkgdir}/usr/share/zsh/site-functions/_lure
|
install -Dm755 ./scripts/completion/zsh ${pkgdir}/usr/share/zsh/site-functions/_lure
|
||||||
release:
|
release:
|
||||||
gitea:
|
gitea:
|
||||||
owner: Arsen6331
|
owner: Elara6331
|
||||||
name: lure
|
name: lure
|
||||||
gitea_urls:
|
gitea_urls:
|
||||||
api: 'https://gitea.arsenm.dev/api/v1/'
|
api: 'https://gitea.elara.ws/api/v1/'
|
||||||
download: 'https://gitea.arsenm.dev'
|
download: 'https://gitea.elara.ws'
|
||||||
skip_tls_verify: false
|
skip_tls_verify: false
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
|
|
@ -64,11 +64,11 @@ else
|
||||||
error "No supported package manager detected!"
|
error "No supported package manager detected!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
latestVersion=$(curl -sI 'https://gitea.arsenm.dev/Arsen6331/lure/releases/latest' | grep -o 'location: .*' | rev | cut -d '/' -f1 | rev | tr -d '[:space:]')
|
latestVersion=$(curl -sI 'https://gitea.elara.ws/Elara6331/lure/releases/latest' | grep -o 'location: .*' | rev | cut -d '/' -f1 | rev | tr -d '[:space:]')
|
||||||
info "Found latest LURE version:" $latestVersion
|
info "Found latest LURE version:" $latestVersion
|
||||||
|
|
||||||
fname="$(mktemp -u -p /tmp "lure.XXXXXXXXXX").${pkgFormat}"
|
fname="$(mktemp -u -p /tmp "lure.XXXXXXXXXX").${pkgFormat}"
|
||||||
url="https://gitea.arsenm.dev/Arsen6331/lure/releases/download/${latestVersion}/linux-user-repository-${latestVersion#v}-linux-$(uname -m).${pkgFormat}"
|
url="https://gitea.elara.ws/Elara6331/lure/releases/download/${latestVersion}/linux-user-repository-${latestVersion#v}-linux-$(uname -m).${pkgFormat}"
|
||||||
|
|
||||||
info "Downloading LURE package"
|
info "Downloading LURE package"
|
||||||
curl -L $url -o $fname
|
curl -L $url -o $fname
|
||||||
|
|
Loading…
Reference in New Issue