Get rid of duplicates of 'api' field in version.yaml

Change-Id: Ie44ec8610a595da201cb28004c12ddb2b647dd8b
This commit is contained in:
Dmitry Pyzhov 2014-05-07 13:21:41 +04:00
parent cb99264a1d
commit e0f79e4bb1
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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