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: build:
dependencies: dependencies:
go.dev: '*' go.dev: '*'
script: | script:
go build $ARGS - go mod tidy
mkdir -p {{prefix}}/bin - go build $ARGS
mv ./bin/jf {{prefix}}/bin - run: ln -s jf jfrog
ln -sf jf {{prefix}}/bin/jfrog working-directory: '{{prefix}}/bin'
env: env:
ARGS: ARGS:
- -trimpath - -trimpath
- -o=bin/jf - -o='{{prefix}}/bin/jf'
provides: provides:
- bin/jf - bin/jf
- bin/jfrog - bin/jfrog
test: | test:
jf -v | grep {{version}} - jf -v | grep {{version}}
jfrog -v | grep {{version}} - jfrog -v | grep {{version}}