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

dry run and tagging functionality #341

Merged
merged 6 commits into from
Jan 16, 2024
Merged

dry run and tagging functionality #341

merged 6 commits into from
Jan 16, 2024

Conversation

briandowns
Copy link
Contributor

No description provided.

@briandowns briandowns self-assigned this Jan 12, 2024
cmd/release/cmd/tag.go Outdated Show resolved Hide resolved
cmd/release/cmd/tag.go Outdated Show resolved Hide resolved
@briandowns briandowns requested a review from tashima42 January 16, 2024 17:21
Signed-off-by: Brian Downs <[email protected]>
Signed-off-by: Brian Downs <[email protected]>
Signed-off-by: Brian Downs <[email protected]>
Signed-off-by: Brian Downs <[email protected]>
Signed-off-by: Brian Downs <[email protected]>
cmd/release/cmd/root.go Outdated Show resolved Hide resolved
Signed-off-by: Brian Downs <[email protected]>
@briandowns briandowns requested a review from tashima42 January 16, 2024 21:20
@@ -62,6 +128,13 @@ func init() {
tagCmd.AddCommand(k3sTagSubCmd)
tagCmd.AddCommand(rke2TagSubCmd)

dryRun = tagCmd.PersistentFlags().BoolP("dry-run", "d", false, "Dry run")
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe move this persistent flag to root.go

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had given that some thought but not all commands will have/need dry-run.

@briandowns briandowns merged commit 95a04ef into master Jan 16, 2024
2 checks passed
@briandowns briandowns deleted the add_dry_run branch January 16, 2024 22:28
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.

3 participants