Skip to content

Commit

Permalink
Make "dry-run" mode the default
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Oct 25, 2023
1 parent 70cd91e commit 676791b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/migrate-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ remote='origin'
release_commits_regex='^\d\{1,3\}\.\d\{1,3\}\.\d\{1,3\}'
version_before_package_rename='0.0.0'
tag_prefix_before_package_rename="$1"
dry_run=false
dry_run=true

while [[ $# -gt 0 ]]; do
key="$1"
Expand All @@ -32,8 +32,8 @@ while [[ $# -gt 0 ]]; do
shift # past argument
shift # past value
;;
-d | --dry-run)
dry_run=true
-r | --non-dry-run)
dry_run=false
shift # past argument
shift # past value
;;
Expand Down

0 comments on commit 676791b

Please sign in to comment.