File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- project_name : variant
1
+ project_name : actions
2
2
builds :
3
3
- env :
4
4
- CGO_ENABLED=0
5
5
ldflags :
6
6
- -s -w -X github.com/variantdev/go-actions/cmd.VERSION={{.Version}}
7
7
main : ./cmd
8
- binary : actions
9
8
changelog :
10
9
filters :
11
10
# commit messages matching the regexp listed here will be removed from
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ENV GOARCH=amd64
8
8
WORKDIR /go/src/github.com/variantdev/go-actions
9
9
COPY . /go/src/github.com/variantdev/go-actions
10
10
11
- RUN if [ -n "${ACTIONS_VERSION}" ]; then git checkout -b tag refs/tags/${ACTIONS_VERSION}; fi \
11
+ RUN if [ -n "${ACTIONS_VERSION}" ]; then git checkout -b tag refs/tags/${ACTIONS_VERSION} || git checkout -b branch ${ACTIONS_VERSION} ; fi \
12
12
&& make build -e GO111MODULE=on
13
13
14
14
FROM buildpack-deps:scm
You can’t perform that action at this time.
0 commit comments