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:
|
||||
dependencies:
|
||||
go.dev: ^1.18
|
||||
script: |
|
||||
go build -ldflags="$GO_LDFLAGS" -o pocket ./app/cmd/pocket_core/main.go
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv pocket "{{ prefix }}"/bin
|
||||
script:
|
||||
- run: sed -i -e 's/AppVersion = ".*"$/AppVersion = "RC-{{version}}"/' app.go
|
||||
working-directory: app
|
||||
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}'/bin/pocket ./app/cmd/pocket_core/main.go
|
||||
env:
|
||||
linux:
|
||||
GO_LDFLAGS:
|
||||
|
|
Loading…
Reference in a new issue