Commit 685fdfa6 authored by Nick Cabatoff's avatar Nick Cabatoff
Browse files

Make sure to build UI.

parent acf61cc2
Showing with 276 additions and 279 deletions
+276 -279
This diff is collapsed.
This diff is collapsed.
......@@ -196,15 +196,13 @@ clean-all-prune: clean-all
# Configure the releaser repo. If you are developing that repo, you may want
# to clone it adjacent to this one in ../packagespec-release, otherwise it will
# be cloned into .releaser, if you have access to it.
# If using it in an adjacent directory, you won't need to push changes in order
# to test them locally.
RELEASER_REPO ?= git@github.com:hashicorp/packagespec-release.git
RELEASER_DIR := $(REPO_ROOT)/../packagespec-release
RELEASER_CLONE := NO
RELEASER_PULL := NO
ifeq ($(shell if [ -d $(RELEASER_DIR) ]; then echo OK; else echo NO; fi),NO)
RELEASER_GITIGNORE := $(REPO_ROOT)/.tmp/.gitignore
RELEASER_DIR := $(REPO_ROOT)/.tmp/releaser
RELEASER_DIR := $(REPO_ROOT)/.tmp/.releaser
RELEASER_CLONE := YES
RELEASER_PULL := YES
endif
......@@ -235,7 +233,6 @@ define INVOKE_RELEASER_TARGET
}; \
mkdir -p $(RELEASER_DIR); \
echo "*" > "$(RELEASER_GITIGNORE)"; \
echo "==> First time setup for staging/publishing work."; \
echo "==> Attempting to clone $(RELEASER_REPO) into $(RELEASER_DIR)"; \
echo "==> NOTE: The above repo is only available to HashiCorp employees at this time."; \
mkdir -p $(RELEASER_DIR); \
......@@ -243,6 +240,7 @@ define INVOKE_RELEASER_TARGET
echo "==> ERROR: Failed to clone $(RELEASER_REPO)"; \
fi; \
}; \
echo "==> Using releaser code from $(RELEASER_DIR)"; \
( \
cd $(RELEASER_DIR); \
if [ $(RELEASER_PULL) = YES ]; then \
......@@ -250,8 +248,6 @@ define INVOKE_RELEASER_TARGET
git pull -q origin master; \
git clean -qf; \
git reset -q --hard HEAD; \
else \
echo "==> Using releaser code from $(RELEASER_DIR)"; \
fi; \
$(MAKE) $(1); \
)
......
This diff is collapsed.
......@@ -83,6 +83,7 @@ inputs:
# NOTE: You MUST NOT use single quotes in the build command, because at present we do no escaping.
build-command: VERSION_PKG_PATH=github.com/hashicorp/vault/vendor/github.com/hashicorp/vault/sdk/version;
go build -v
-tags ui
-ldflags "
-X $VERSION_PKG_PATH.GitCommit=$PACKAGE_SOURCE_ID
-X $VERSION_PKG_PATH.Version={{.PRODUCT_VERSION_MMP}}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment