Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release.sh: identify the remote before switching to DRYRUN mode #1498

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

Current version of the release script identifies the remote after the
DRYRUN mode overrides git command. As the result, logs do not show
which remote will be used when the DRYRUN mode will be off.

Modifications:

  • Move lines that identify remote before the DRYRUN mode check;
  • Print a message when DRYRUN mode is enabled;

Result:

DRYRUN mode correctly shows the git remote.

Motivation:

Current version of the release script identifies the remote after the
`DRYRUN` mode overrides `git` command. As the result, logs do not show
which remote will be used when the `DRYRUN` mode will be off.

Modifications:

- Move lines that identify `remote` before the `DRYRUN` mode check;
- Print a message when `DRYRUN` mode is enabled;

Result:

`DRYRUN` mode correctly shows the git remote.
@idelpivnitskiy idelpivnitskiy changed the title release.sh: identify the remote before switching into DRYRUN mode release.sh: identify the remote before switching to DRYRUN mode Apr 16, 2021
Copy link
Contributor

@tkountis tkountis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@idelpivnitskiy idelpivnitskiy merged commit e516c64 into apple:main Apr 16, 2021
@idelpivnitskiy idelpivnitskiy deleted the release-script branch April 16, 2021 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants