forked from chartjs/Chart.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Look for any branch starting with release (chartjs#7087) (chartjs#7089)
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ TARGET_REPO_URL="https://[email protected]/chartjs/chartjs.github.io | |
VERSION_REGEX='[[:digit:]]+.[[:digit:]]+.[[:digit:]]+(-.*)?' | ||
|
||
# Make sure that this script is executed only for the release and master branches | ||
if [ "$TRAVIS_BRANCH" == "release" ]; then | ||
if [ "$TRAVIS_BRANCH" =~ ^release.*$ ]; then | ||
# Travis executes this script from the repository root, so at the same level than package.json | ||
VERSION=$(node -p -e "require('./package.json').version") | ||
elif [ "$TRAVIS_BRANCH" == "master" ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters