File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,13 @@ PROJECT =$(notdir $(WORKDIR))
99export VAULT_PLUGIN_DIR =$(WORKDIR ) /bin
1010BINARY_PATH =$(VAULT_PLUGIN_DIR ) /$(PROJECT )
1111
12- # unset OS_ variables
13- env_vars ::= $(shell env | grep -oE 'OS_[^=]+' )
14- unexport $(env_vars)
15- export OS_CLOUD OS_CLIENT_CONFIG_FILE
16-
17- module_path ::= github.com/opentelekomcloud/vault-plugin-secrets-openstack
18- ldflags ::= -s -w \
12+ module_path := github.com/opentelekomcloud/vault-plugin-secrets-openstack
13+ ldflags := -s -w \
1914 -X $(module_path ) /vars.ProjectName=vault-plugin-secrets-openstack \
2015 -X $(module_path ) /vars.ProjectDocs=https://$(module_path ) \
2116 -X $(module_path ) /vars.BuildVersion=$(shell git rev-parse --abbrev-ref HEAD) \
2217 -X $(module_path ) /vars.BuildRevision=$(shell git rev-parse --short HEAD) \
23- -X $(module_path)/vars.BuildDate=$(shell date --iso-8601 )
18+ -X $(module_path ) /vars.BuildDate=$(shell date -u +" % Y- % m- % dT % H: % M: % SZ" )
2419
2520build :
2621 @mkdir -p $(VAULT_PLUGIN_DIR )
You can’t perform that action at this time.
0 commit comments