Prepares scripts and documentation for #184
This commit is contained in:
parent
c083baf640
commit
a4186c1031
6 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue