File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ workflows:
106106 - " build-prod " :
107107 filters :
108108 branches :
109- only : master
109+ ignore : /.*/
110110 tags :
111111 only : /v[0-9]+(\.[0-9]+)*/
112112
@@ -117,4 +117,3 @@ workflows:
117117 branches :
118118 ignore :
119119 - develop
120- - master
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eo pipefail
33
4+ # Skips build for tags on no-master branch.
5+ if [ ! -z $CIRCLE_TAG ] && [[ $CIRCLE_BRANCH != " master" ]]
6+ then
7+ echo " Tag build for branches other than master are failed by default!"
8+ exit 1
9+ fi
10+
411# Builds Docker image of Community App application.
512# This script expects a single argument: NODE_ENV, which must be either
613# "development" or "production".
You can’t perform that action at this time.
0 commit comments