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