mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
parent
bdc6051926
commit
532a55ff6e
|
@ -11,10 +11,9 @@ provides:
|
|||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.19
|
||||
script: |
|
||||
go mod download
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC .
|
||||
script:
|
||||
- go mod download
|
||||
- go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC .
|
||||
env:
|
||||
GOPROXY: https://proxy.golang.org,direct
|
||||
GOSUMDB: sum.golang.org
|
||||
|
@ -36,4 +35,6 @@ test:
|
|||
- run: test "$(git-town version)" = "Git Town {{version}} ()"
|
||||
if: <10
|
||||
- run: test "$(git-town --version)" = "Git Town {{version}} ()"
|
||||
if: '>=10'
|
||||
if: '>=10<12.0.1'
|
||||
- run: test "$(git-town --version)" = "Git Town {{version}}"
|
||||
if: '>=12.0.1'
|
||||
|
|
Loading…
Reference in a new issue