fix(pocket)

closes #5449
This commit is contained in:
Jacob Heider 2024-03-05 19:03:55 -05:00
parent a428ba6713
commit 663d37d3db
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -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: