From ceb74c997161f723b9b0a3745f8bf9ccbf1bf92b Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Tue, 6 Oct 2026 17:44:15 +0200 Subject: [PATCH] cli: Test explorer URL for annotated tag push - Push an annotated tag and expect the tree URL of the tagged commit - Currently fails: the URL uses the tag object id --- .../radicle-cli/examples/rad-patch-open-explore.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/crates/radicle-cli/examples/rad-patch-open-explore.md b/crates/radicle-cli/examples/rad-patch-open-explore.md index 882eca579..242a7efc2 100644 --- a/crates/radicle-cli/examples/rad-patch-open-explore.md +++ b/crates/radicle-cli/examples/rad-patch-open-explore.md @@ -46,3 +46,17 @@ $ git push rad master To rad://z3yXbb1sR6UG6ixxV2YF9jUP7ABra/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk f2de534..b2b6432 master -> master ``` + +Pushing an annotated tag outputs a URL to the source tree of the tagged commit, +not the tag object. + +``` (stderr) +$ git tag -a v1.0 -m "Release v1.0" +$ git push rad v1.0 +✓ Synced with 1 seed(s) + + https://radicle.network/nodes/[..]/rad:z3yXbb1sR6UG6ixxV2YF9jUP7ABra/tree/b2b6432af93f8fe188e32d400263021b602cfec8 + +To rad://z3yXbb1sR6UG6ixxV2YF9jUP7ABra/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk + * [new tag] v1.0 -> v1.0 +```