Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
birdofpreyru committed Sep 6, 2017
2 parents 8380536 + bbbb0b9 commit a88c9b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ workflows:
- "build-prod":
filters:
branches:
only: master
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*/

Expand All @@ -117,4 +117,3 @@ workflows:
branches:
ignore:
- develop
- master
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash
set -eo pipefail

# Skips build for tags on no-master branch.
if [ ! -z $CIRCLE_TAG ] && [[ $CIRCLE_BRANCH != "master" ]]
then
echo "Tag build for branches other than master are failed by default!"
exit 1
fi

# Builds Docker image of Community App application.
# This script expects a single argument: NODE_ENV, which must be either
# "development" or "production".
Expand Down

0 comments on commit a88c9b5

Please sign in to comment.