## Branches and issues
- Whenever possible, one commit per feature.
- If feature/pull-request branches have only one developer, please regularly
- rebase them onto master until they are merged in.
+ rebase them onto main until they are merged in.
- Don't merge branches with meaningless commit messages; always squash them
instead.
- Wait for discussion of big changes. Your branches will still be here
-# web-7.0 [![Build Status](https://travis-ci.org/freenode/web-7.0.svg?branch=master)](https://travis-ci.org/freenode/web-7.0) [![irc: #freenode-website](https://img.shields.io/badge/irc-%23freenode--website-brightgreen.svg)](https://webchat.freenode.net/?channels=freenode-website)
+# web-7.0 [![Build Status](https://travis-ci.org/freenode/web-7.0.svg?branch=main)](https://travis-ci.org/freenode/web-7.0) [![irc: #freenode-website](https://img.shields.io/badge/irc-%23freenode--website-brightgreen.svg)](https://webchat.freenode.net/?channels=freenode-website)
A shiny replacement for http://freenode.net.
- Whenever possible, one commit per feature.
- If feature/pull-request branches have only one developer, please regularly
- rebase them onto master until they are merged in.
+ rebase them onto main until they are merged in.
- Don't merge branches with meaningless commit messages; always squash them
instead.
- Wait for discussion of big changes. Your branches will still be here
BRANCH_DIR="$TRAVIS_BRANCH"
if [ "$TRAVIS_PULL_REQUEST" != false ]; then
- if [ "$TRAVIS_BRANCH" != master ]; then exit; fi
+ if [ "$TRAVIS_BRANCH" != main ]; then exit; fi
BRANCH_DIR="pull-$TRAVIS_PULL_REQUEST"
fi
git push || exit 1
cd ../..
-if [ "$TRAVIS_BRANCH" = master -a "$TRAVIS_PULL_REQUEST" = false ]; then
+if [ "$TRAVIS_BRANCH" = main -a "$TRAVIS_PULL_REQUEST" = false ]; then
rm -rf .deploy
export SSH_KEYFILE="$(readlink -f deploy/key2)"
export GIT_SSH="$(readlink -f deploy/ssh.sh)"