Get rid of duplicates of 'api' field in version.yaml
Change-Id: Ie44ec8610a595da201cb28004c12ddb2b647dd8b
This commit is contained in:
parent
cb99264a1d
commit
e0f79e4bb1
|
@ -71,6 +71,7 @@ $(ISOROOT)/version.yaml: $(BUILD_DIR)/repos/repos.done
|
|||
echo " mirantis: \"$(MIRANTIS)\"" >> $@
|
||||
echo " production: \"$(PRODUCTION)\"" >> $@
|
||||
echo " release: \"$(PRODUCT_VERSION)\"" >> $@
|
||||
echo " api: \"1.0\"" >> $@
|
||||
ifdef BUILD_NUMBER
|
||||
echo " build_number: \"$(BUILD_NUMBER)\"" >> $@
|
||||
endif
|
||||
|
|
1
repos.mk
1
repos.mk
|
@ -27,7 +27,6 @@ $(BUILD_DIR)/repos/$1.done:
|
|||
touch $(BUILD_DIR)/repos/version.yaml
|
||||
sed -i '/^ $1_sha:/d' $(BUILD_DIR)/repos/version.yaml
|
||||
/bin/echo " $1_sha: \"`cd $(BUILD_DIR)/repos/$1 && git rev-parse --verify HEAD`\"" >> $(BUILD_DIR)/repos/version.yaml
|
||||
/bin/echo " api: \"1.0\"" >> $(BUILD_DIR)/repos/version.yaml
|
||||
touch $(BUILD_DIR)/repos/$1.done
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue