File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ type ImageSource string
5
5
type vcsProvider string
6
6
7
7
const (
8
- FrogbotVersion = "2.5.8"
9
8
baseResourceUrl = "https://raw.githubusercontent.com/jfrog/frogbot/master/resources/"
10
9
11
10
// Errors
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ import (
22
22
23
23
const RootDir = "."
24
24
25
- var TrueVal = true
25
+ var (
26
+ TrueVal = true
27
+ FrogbotVersion = "0.0.0"
28
+ )
26
29
27
30
type ErrMissingEnv struct {
28
31
VariableName string
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ build () {
9
9
exeName=" $4 "
10
10
echo " Building $exeName for $GOOS -$GOARCH ..."
11
11
12
- CGO_ENABLED=0 jf go build -o " $exeName " -ldflags ' -w -extldflags "-static" -X main.frogbotVersion =' $version main.go
12
+ CGO_ENABLED=0 jf go build -o " $exeName " -ldflags ' -w -extldflags "-static" -X github.com/jfrog/frogbot/commands/utils.FrogbotVersion =' $version main.go
13
13
chmod +x $exeName
14
14
15
15
# Run verification after building plugin for the correct platform of this image.
You can’t perform that action at this time.
0 commit comments