Prepares scripts and documentation for #184
This commit is contained in:
@@ -31,7 +31,7 @@ run_build() {
|
||||
./build-branches.sh $@
|
||||
;;
|
||||
this) # Pull Requests
|
||||
# only build the 'master' branch
|
||||
# only build the 'master' branch of netbox
|
||||
# (resulting in the 'latest' docker tag)
|
||||
# and the 'main' target.
|
||||
DOCKER_TARGET=main ./build.sh master
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
. hooks/common
|
||||
|
||||
if [ "${SOURCE_BRANCH}" == "master" ] || [ "${DEBUG}" == "true" ]; then
|
||||
if [ "${SOURCE_BRANCH}" != "master" ]; then
|
||||
if [ "${SOURCE_BRANCH}" == "release" ] || [ "${DEBUG}" == "true" ]; then
|
||||
if [ "${SOURCE_BRANCH}" != "release" ]; then
|
||||
echo "⚠️⚠️⚠️ Would exit, but DEBUG is '${DEBUG}'".
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user