File tree Expand file tree Collapse file tree 8 files changed +10
-11
lines changed Expand file tree Collapse file tree 8 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ FROM golang:1.16.3-alpine3.13 as codefresh-build
30
30
31
31
WORKDIR /go/src/github.com/codefresh-io/cli-v2
32
32
33
- RUN apk -U add --no-cache git make
33
+ RUN apk -U add --no-cache git make bash
34
34
35
35
COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
36
36
COPY --from=base /go/pkg/mod /go/pkg/mod
Original file line number Diff line number Diff line change 1
- VERSION =v0.0.108
1
+ VERSION =v0.0.109
2
2
OUT_DIR =dist
3
3
YEAR? =$(shell date +"% Y")
4
4
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cf version
20
20
### Linux
21
21
``` bash
22
22
# download and extract the binary
23
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.108 /cf-linux-amd64.tar.gz | tar zx
23
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.109 /cf-linux-amd64.tar.gz | tar zx
24
24
25
25
# move the binary to your $PATH
26
26
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -32,7 +32,7 @@ cf version
32
32
### Mac
33
33
``` bash
34
34
# download and extract the binary
35
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.108 /cf-darwin-amd64.tar.gz | tar zx
35
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.109 /cf-darwin-amd64.tar.gz | tar zx
36
36
37
37
# move the binary to your $PATH
38
38
mv ./cf-darwin-amd64 /usr/local/bin/cf
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /usr/ bin/env bash
2
2
3
3
if [[ ! -z " ${GO_FLAGS} " ]]; then
4
4
echo Building \" ${OUT_FILE} \" with flags: \" ${GO_FLAGS} \" starting at: \" ${MAIN} \"
@@ -14,4 +14,4 @@ go build -ldflags=" \
14
14
-X 'github.com/codefresh-io/cli-v2/pkg/store.buildDate=${BUILD_DATE} ' \
15
15
-X 'github.com/codefresh-io/cli-v2/pkg/store.gitCommit=${GIT_COMMIT} ' \
16
16
-X 'github.com/codefresh-io/cli-v2/pkg/store.RuntimeDefURL=${RUNTIME_DEF_URL} '" \
17
- -v -o ${OUT_FILE} ${MAIN}
17
+ -v -o ${OUT_FILE} ${MAIN}
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /usr/ bin/env bash
2
2
3
3
echo " checking worktree..."
4
4
res=$( git status -s)
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /usr/ bin/env bash
2
2
if [[ -z " $GIT_REPO " ]]; then
3
3
echo " error: git repo not defined"
4
4
exit 1
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /usr/ bin/env bash
2
2
3
3
set -e
4
4
echo " " > coverage.txt
@@ -10,4 +10,3 @@ for d in $(go list ./... | grep -v vendor); do
10
10
rm profile.out
11
11
fi
12
12
done
13
-
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
namespace : " {{ namespace }}"
6
6
spec :
7
7
defVersion : 1.0.0
8
- version : 0.0.108
8
+ version : 0.0.109
9
9
bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
10
10
components :
11
11
- name : events
You can’t perform that action at this time.
0 commit comments