chore(scripts): fix dry run for autoversion in release.sh (#13470)

This commit is contained in:
Mathias Fredriksson
2024-06-04 20:10:15 +03:00
committed by GitHub
parent e3206612e1
commit 3b7f9534fb
+1 -1
View File
@@ -374,7 +374,7 @@ You can follow the release progress [here](https://github.com/coder/coder/action
create_pr_stash=1
fi
maybedryrun "${dry_run}" git checkout -b "${pr_branch}" "${remote}/${branch}"
execrelative go run ./release autoversion --channel "${channel}" "${new_version}" --dry-run
execrelative go run ./release autoversion --channel "${channel}" "${new_version}" --dry-run="${dry_run}"
maybedryrun "${dry_run}" git add docs
maybedryrun "${dry_run}" git commit -m "${title}"
# Return to previous branch.