Skip to content
Browse files

make: Introduce install-stable and install tasks (#1346)

Signed-off-by: aeneasr <>
  • Loading branch information...
aeneasr committed Apr 8, 2019
1 parent a0d614f commit fe720cb0185393d08a77b94081aa2625c83d5475
Showing with 13 additions and 0 deletions.
  1. +13 −0 Makefile
@@ -95,3 +95,16 @@ sdks:
rm -f ./sdk/php/swagger/composer.json ./sdk/php/swagger/phpunit.xml.dist
rm -rf ./sdk/php/swagger/test
rm -rf ./vendor

.PHONY: install-stable
HYDRA_LATEST=$$(git describe --abbrev=0 --tags)
git checkout $$HYDRA_LATEST
GO111MODULE=on go install \
-ldflags "-X$$HYDRA_LATEST -X`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X`git rev-parse HEAD`" \
git checkout master

.PHONY: install
GO111MODULE=on go install .

0 comments on commit fe720cb

Please sign in to comment.
You can’t perform that action at this time.