0
0
Fork 0
mirror of https://gitea.plemya-x.ru/Plemya-x/ALR.git synced 2025-01-10 17:26:45 +00:00

gitflic.ru/project/xpamych/alr

This commit is contained in:
Евгений Храмов 2024-05-07 16:42:10 +03:00
parent 23e8e8e1fe
commit 7ca4e68551
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ builds:
- CGO_ENABLED=0 - CGO_ENABLED=0
binary: alr binary: alr
ldflags: ldflags:
- -X plemya-x.ru/alr/internal/config.Version={{.Version}} - -X gitflic.ru/project/xpamych/alr/internal/config.Version={{.Version}}
goos: goos:
- linux - linux
goarch: goarch:
@ -68,9 +68,9 @@ aurs:
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'
provides: provides:
- linux-user-repository - alr
conflicts: conflicts:
- linux-user-repository - alr
depends: depends:
- sudo - sudo
- pacman - pacman

View file

@ -2,7 +2,7 @@ PREFIX ?= /usr/local
GIT_VERSION = $(shell git describe --tags ) GIT_VERSION = $(shell git describe --tags )
alr: alr:
CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$(GIT_VERSION)'" CGO_ENABLED=0 go build -ldflags="-X 'gitflic.ru/project/xpamych/alr/internal/config.Version=$(GIT_VERSION)'"
clean: clean:
rm -f alr rm -f alr