mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
a428ba6713
commit
663d37d3db
1 changed files with 4 additions and 4 deletions
|
@ -12,10 +12,10 @@ provides:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.18
|
go.dev: ^1.18
|
||||||
script: |
|
script:
|
||||||
go build -ldflags="$GO_LDFLAGS" -o pocket ./app/cmd/pocket_core/main.go
|
- run: sed -i -e 's/AppVersion = ".*"$/AppVersion = "RC-{{version}}"/' app.go
|
||||||
mkdir -p "{{ prefix }}"/bin
|
working-directory: app
|
||||||
mv pocket "{{ prefix }}"/bin
|
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}'/bin/pocket ./app/cmd/pocket_core/main.go
|
||||||
env:
|
env:
|
||||||
linux:
|
linux:
|
||||||
GO_LDFLAGS:
|
GO_LDFLAGS:
|
||||||
|
|
Loading…
Reference in a new issue