Skip to content

Commit

Permalink
changing to test quals for taggingagain
Browse files Browse the repository at this point in the history
  • Loading branch information
Megan Martinson committed Jun 9, 2017
1 parent 0e6f4c9 commit 5b9f0f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ fi

# Master branch deployment (only runs when a version git tag exists - syntax: "v1.2.3")
if [[ "$CIRCLE_BRANCH" == "master" || "$CIRCLE_BRANCH" == "testingDeploy" ]]; then
VERSION=$(git describe --tags | grep "/test-ee-v[0-9]+(\.[0-9]+)*/")

if [[ "$VERSION" ]]; then
# VERSION=$(git describe --tags | grep "/test-ee-v[0-9]+(\.[0-9]+)*/")
#
# if [[ "$VERSION" ]]; then
set -e

DOCKER_NAMESPACE=${DOCKER_NAMESPACE:-"reactioncommerce/reaction"}
Expand All @@ -53,7 +53,7 @@ if [[ "$CIRCLE_BRANCH" == "master" || "$CIRCLE_BRANCH" == "testingDeploy" ]]; th

docker push $DOCKER_NAMESPACE:$VERSION
docker push $DOCKER_NAMESPACE:latest
else
echo "On the master branch, but no version tag was found. Skipping image deployment."
fi
# else
# echo "On the master branch, but no version tag was found. Skipping image deployment."
# fi
fi

0 comments on commit 5b9f0f9

Please sign in to comment.