From 30df962502f4bb499f36a885de0ed83d3ccd675a Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Fri, 17 Oct 2025 10:18:24 +0300 Subject: [PATCH] fix: remove .git from _watch_msg --- gr-batch-watch-standalone | 1 + 1 file changed, 1 insertion(+) diff --git a/gr-batch-watch-standalone b/gr-batch-watch-standalone index a8213a8..3558181 100755 --- a/gr-batch-watch-standalone +++ b/gr-batch-watch-standalone @@ -195,6 +195,7 @@ sub _watch_msg { my ($tag,$url)=@_; $url =~ s!^https?://!https://!; $url =~ s,/$,,; + $url =~ s/\.git$//; if ($url=~m!^https://(?:[^\./]+\.)?github\.[^/]+/(?:[^#?]+/)?[^/#?]+$!) { return $url.'/releases/tag/'.$tag; # gitlab: -- 2.50.1