circleci: Remove original file after sed

This commit is contained in:
Jonatan Nilsson 2019-10-01 03:50:33 +00:00
parent 595b3a1199
commit 924533a0f5

View file

@ -20,6 +20,7 @@ jobs:
name: Replace version in config
command: |
sed -i .org "s/circleci_version_number/${CIRCLE_BUILD_NUM}/g" config/config.default.json
rm config/config/config.default.json.org
- run:
name: Build docker image
command: docker build -t ${di}:build_${CIRCLE_BUILD_NUM} -t ${di}:${CIRCLE_SHA1} -t ${di}:${dtag} .