Skip to content

Commit a4dea17

Browse files
author
Vaughn Dice
committed
feat(Makefile): add build-stable target
To upload/overwrite the `deis-stable-*` binaries on each release, in a similar manner as we do for `latest`/master commits. (Not tied to the keyword `stable` and open to suggestions for better naming)
1 parent eefb125 commit a4dea17

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ build-revision:
4646
$(eval GO_LDFLAGS = -ldflags '-X ${repo_path}/version.Version=${GIT_TAG}-${REVISION}')
4747
gox -verbose ${GO_LDFLAGS} -os="${BUILD_OS}" -arch="${BUILD_ARCH}" -output="${DIST_DIR}/${REVISION}/deis-${REVISION}-{{.OS}}-{{.Arch}}" .
4848

49+
# This is supposed to be run within a docker container
50+
build-stable:
51+
$(eval GO_LDFLAGS = -ldflags '-X ${repo_path}/version.Version=${GIT_TAG}')
52+
gox -verbose ${GO_LDFLAGS} -os="${BUILD_OS}" -arch="${BUILD_ARCH}" -output="${DIST_DIR}/deis-stable-{{.OS}}-{{.Arch}}" .
53+
4954
# This is supposed to be run within a docker container
5055
build-tag:
5156
$(eval GO_LDFLAGS = -ldflags '-X ${repo_path}/version.Version=${GIT_TAG}')

0 commit comments

Comments
 (0)