feat(release): add edit and update shortcuts #69
Loading…
Reference in New Issue
No description provided.
Delete Branch "wangyue111/gitlink-cli:feat/release-update-shortcuts"
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
Submitter: Wang Yue
This PR completes the release shortcut coverage for GitLink release edit/update OpenAPI endpoints and improves release write safety.
Details
release +editfor release edit data.release +updateforPUT /releases/{id}while preserving unspecified fields from the edit endpoint.release +createwith--draftand--attachment-ids.release +deletewith--dry-runso destructive requests can be previewed.Tests
go test ./shortcuts/release ./shortcutsgo test ./...go run . release --helpgo run . release +create --helpgo run . release +edit --helpgo run . release +update --helpgo run . release +delete --helpgit diff --check15843bf785tob55275f0c2b55275f0c2toe4bc7151d7e4bc7151d7to1c7fee0e2e1c7fee0e2eto066a6a363c066a6a363cto2d963ebf41