feat(release): add edit and update shortcuts #69

Merged
wbtiger merged 1 commits from wangyue111/gitlink-cli:feat/release-update-shortcuts into master 2026-06-09 01:01:56 +08:00
Contributor

Summary

Submitter: Wang Yue

This PR completes the release shortcut coverage for GitLink release edit/update OpenAPI endpoints and improves release write safety.

Details

  • Add release +edit for release edit data.
  • Add release +update for PUT /releases/{id} while preserving unspecified fields from the edit endpoint.
  • Extend release +create with --draft and --attachment-ids.
  • Extend release +delete with --dry-run so destructive requests can be previewed.
  • Add release unit tests, README updates, release Skill updates, command references, and change notes.

Tests

  • go test ./shortcuts/release ./shortcuts
  • go test ./...
  • go run . release --help
  • go run . release +create --help
  • go run . release +edit --help
  • go run . release +update --help
  • go run . release +delete --help
  • git diff --check
## Summary Submitter: Wang Yue This PR completes the release shortcut coverage for GitLink release edit/update OpenAPI endpoints and improves release write safety. ## Details - Add `release +edit` for release edit data. - Add `release +update` for `PUT /releases/{id}` while preserving unspecified fields from the edit endpoint. - Extend `release +create` with `--draft` and `--attachment-ids`. - Extend `release +delete` with `--dry-run` so destructive requests can be previewed. - Add release unit tests, README updates, release Skill updates, command references, and change notes. ## Tests - `go test ./shortcuts/release ./shortcuts` - `go test ./...` - `go run . release --help` - `go run . release +create --help` - `go run . release +edit --help` - `go run . release +update --help` - `go run . release +delete --help` - `git diff --check`
wangyue111 force-pushed feat/release-update-shortcuts from 15843bf785 to b55275f0c2 2026-06-02 12:46:07 +08:00 Compare
wangyue111 force-pushed feat/release-update-shortcuts from b55275f0c2 to e4bc7151d7 2026-06-03 14:28:34 +08:00 Compare
wangyue111 force-pushed feat/release-update-shortcuts from e4bc7151d7 to 1c7fee0e2e 2026-06-03 23:20:00 +08:00 Compare
wangyue111 force-pushed feat/release-update-shortcuts from 1c7fee0e2e to 066a6a363c 2026-06-04 07:22:09 +08:00 Compare
wangyue111 force-pushed feat/release-update-shortcuts from 066a6a363c to 2d963ebf41 2026-06-08 08:38:02 +08:00 Compare
wbtiger merged commit 21966bf1ea into master 2026-06-09 01:01:56 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gitlink/gitlink-cli#69
No description provided.