fix(jfrog)

`go mod tidy`

closes #5316
This commit is contained in:
Jacob Heider 2024-02-21 13:58:49 -05:00
parent f63bb9e5e0
commit d178289238
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -11,21 +11,20 @@ platforms:
build:
dependencies:
go.dev: '*'
script: |
go build $ARGS
mkdir -p {{prefix}}/bin
mv ./bin/jf {{prefix}}/bin
ln -sf jf {{prefix}}/bin/jfrog
script:
- go mod tidy
- go build $ARGS
- run: ln -s jf jfrog
working-directory: '{{prefix}}/bin'
env:
ARGS:
- -trimpath
- -o=bin/jf
- -o='{{prefix}}/bin/jf'
provides:
- bin/jf
- bin/jfrog
test: |
jf -v | grep {{version}}
jfrog -v | grep {{version}}
test:
- jf -v | grep {{version}}
- jfrog -v | grep {{version}}