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
3030
3131WORKDIR /go/src/github.com/codefresh-io/cli-v2
3232
33- RUN apk -U add --no-cache git make
33+ RUN apk -U add --no-cache git make bash
3434
3535COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
3636COPY --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
22OUT_DIR =dist
33YEAR? =$(shell date +"% Y")
44
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cf version
2020### Linux
2121``` bash
2222# 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
2424
2525# move the binary to your $PATH
2626mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -32,7 +32,7 @@ cf version
3232### Mac
3333``` bash
3434# 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
3636
3737# move the binary to your $PATH
3838mv ./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
22
33if [[ ! -z " ${GO_FLAGS} " ]]; then
44 echo Building \" ${OUT_FILE} \" with flags: \" ${GO_FLAGS} \" starting at: \" ${MAIN} \"
@@ -14,4 +14,4 @@ go build -ldflags=" \
1414 -X 'github.com/codefresh-io/cli-v2/pkg/store.buildDate=${BUILD_DATE} ' \
1515 -X 'github.com/codefresh-io/cli-v2/pkg/store.gitCommit=${GIT_COMMIT} ' \
1616 -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
22
33echo " checking worktree..."
44res=$( git status -s)
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /usr/ bin/env bash
22if [[ -z " $GIT_REPO " ]]; then
33 echo " error: git repo not defined"
44 exit 1
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /usr/ bin/env bash
22
33set -e
44echo " " > coverage.txt
@@ -10,4 +10,3 @@ for d in $(go list ./... | grep -v vendor); do
1010 rm profile.out
1111 fi
1212done
13-
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 namespace : " {{ namespace }}"
66spec :
77 defVersion : 1.0.0
8- version : 0.0.108
8+ version : 0.0.109
99 bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
1010 components :
1111 - name : events
You can’t perform that action at this time.
0 commit comments