From ca881f207a9fb20e889e550071e7267bc0ec04dc Mon Sep 17 00:00:00 2001 From: dannyrb Date: Tue, 21 May 2019 13:41:42 -0400 Subject: [PATCH] fix: explicit txt extension for tmp version file --- .circleci/config.yml | 6 +++--- .releaserc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f4760124..46d05f977 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -102,7 +102,7 @@ jobs: command: | # # - if [[ ! -e ~/tmp/updated-version ]]; then + if [[ ! -e ~/tmp/updated-version.txt ]]; then exit 1 fi - setup_remote_docker: @@ -110,9 +110,9 @@ jobs: - run: name: Build and push Docker image command: | - docker build -t ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version" }}.${CIRCLE_BUILD_NUM} ohif/$IMAGE_NAME:latest . + docker build -t ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version.txt" }}.${CIRCLE_BUILD_NUM} ohif/$IMAGE_NAME:latest . echo $DOCKER_PWD | docker login -u $DOCKER_LOGIN --password-stdin - docker push ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version" }}.${CIRCLE_BUILD_NUM} + docker push ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version.txt" }}.${CIRCLE_BUILD_NUM} docker push ohif/$IMAGE_NAME:latest workflows: diff --git a/.releaserc b/.releaserc index bf0d182b3..e68552d28 100644 --- a/.releaserc +++ b/.releaserc @@ -7,7 +7,7 @@ [ "@semantic-release/exec", { - "publishCmd": "echo ${nextRelease.version} > ~/tmp/updated-version" + "publishCmd": "echo ${nextRelease.version} > ~/tmp/updated-version.txt" } ] ]