Add --dry-run flag to release command #24
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
heiko/gogogo#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a
--dry-runflag togogogo releasethat shows what would happen without actually building or uploading anything.Motivation
Currently there is no way to validate configuration, target resolution, or commit expansion without performing the full build+upload cycle. This makes it hard to debug config issues or verify CI pipelines without side effects.
Expected behavior
When
gogogo release --dry-runis invoked, the tool should:@,+,latestas usual).gogogo.conf)go build, or making any API callsImplementation hints
internal/cli/on thereleasecommandinternal/cmd/release.Run(e.g. as a field on the options struct)Run(resolveCommit,loadConfig,execute) already provide natural cut points — dry-run can stop beforeexecuteor enterexecutein a display-only mode