Skip to content

Commit

Permalink
Add extra DRY RUN indicator (#286)
Browse files Browse the repository at this point in the history
Reviewed by: Brian Bennett <brian.bennett@joyent.com>
  • Loading branch information
Dan McDonald authored Jan 13, 2021
1 parent ec7117d commit 9766c1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/releng/branch-repos-for-release
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright 2020 Joyent, Inc.
# Copyright 2021 Joyent, Inc.
#

#
Expand Down Expand Up @@ -199,6 +199,7 @@ else
fi

# Confirmation.
[[ "$optDryRun" == "true" ]] && echo "NOTE: This is a DRY RUN" >&2
if [[ "$optYes" != "true" ]]; then
numRepos=$(echo "$repos" | wc -l | awk '{print $1}')
echo "This will create the '$branch' branch on $numRepos repo(s) as necessary." >&2
Expand Down

0 comments on commit 9766c1a

Please sign in to comment.