Skip to content

Commit

Permalink
Nightly build: include all branches in 'origin' remote
Browse files Browse the repository at this point in the history
This avoids having to manually edit the script when new maintenance
branches are created after a new release.
  • Loading branch information
dregad committed Sep 10, 2017
1 parent fcff681 commit b047b36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nightly-builds.sh
Expand Up @@ -15,7 +15,8 @@
#

# Comma-delimited list of branches to process
branches='master,master-2.3,master-2.2,master-1.3.x'
# Default will include all the branches present in the 'origin' remote
branches=$(git ls-remote --heads origin | cut -d/ -f3 | paste -d, --serial)

# Where to save the builds
pathBuilds=/srv/www/builds
Expand Down

0 comments on commit b047b36

Please sign in to comment.