mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-12 04:40:42 -05:00
ci: rename default branch from master to main
This commit is contained in:
4
ci.sh
4
ci.sh
@@ -33,8 +33,8 @@ nix-build \
|
||||
--option sandbox true \
|
||||
--argstr system "$system_name"
|
||||
|
||||
if [[ $(git rev-parse --abbrev-ref HEAD) != master ]]; then
|
||||
banner "Skipping push on non-master branch"
|
||||
if [[ $(git rev-parse --abbrev-ref HEAD) != main ]]; then
|
||||
banner "Skipping push on non-main branch"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user