Skip to content

Commit

Permalink
Branch renamaing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tiannaavery committed Mar 4, 2022
1 parent d88ffb1 commit cfa439f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ notifications:

branches:
only:
- master
- main

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions bin/make_zipball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ if [[ ! -z "$(git status --porcelain)" ]]; then
fi

branch=$(git rev-parse --abbrev-ref HEAD)
if [[ "$branch" != "master" ]]; then
>&2 echo "WARNING: you are not on the master branch"
if [[ "$branch" != "main" ]]; then
>&2 echo "WARNING: you are not on the main branch"
fi

version=$(cat drip.php | grep -e '^Version: ' | awk '{print $2}')
Expand Down
4 changes: 2 additions & 2 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ if [[ ! -z "$(git status --porcelain)" ]]; then
fi

branch=$(git rev-parse --abbrev-ref HEAD)
if [[ "$branch" != "master" ]]; then
>&2 echo "ERROR: you are not on the master branch"
if [[ "$branch" != "main" ]]; then
>&2 echo "ERROR: you are not on the main branch"
exit 1
fi

Expand Down

0 comments on commit cfa439f

Please sign in to comment.