File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ release:
269269 exit 1; \
270270 fi
271271 @echo " Creating release $( VERSION) ..."
272- @if ! echo " $( VERSION) " | grep -qE ' ^v[0-9]+\.[0-9]+\.[0-9]+$$ ' ; then \
273- echo " Error: VERSION must be in format vX.Y.Z (e.g., v1.0.0)" ; \
272+ @if ! echo " $( VERSION) " | grep -qE ' ^v[0-9]+\.[0-9]+\.[0-9]+' ; then \
273+ echo " Error: VERSION must be in format vX.Y.Z or vX.Y.Z-suffix (e.g., v1.0.0, v1.0.0-alpha )" ; \
274274 exit 1; \
275275 fi
276276 @if git rev-parse " $( VERSION) " > /dev/null 2>&1 ; then \
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var iconWarning []byte
2424//go:embed icons/cockroach.png
2525var iconCockroach []byte
2626
27- func getIcon (iconType IconType , counts PRCounts ) []byte {
27+ func getIcon (iconType IconType , _ PRCounts ) []byte {
2828 switch iconType {
2929 case IconGoose , IconBoth :
3030 return iconGoose
Original file line number Diff line number Diff line change 11//go:build !linux && !freebsd && !openbsd && !netbsd && !dragonfly && !solaris && !illumos && !aix
22
3+ // Package x11tray provides system tray proxy support for Unix-like systems.
4+ // On non-Unix platforms (macOS, Windows), the systray library handles tray functionality natively.
35package x11tray
46
57import (
@@ -16,18 +18,18 @@ func HealthCheck() error {
1618type ProxyProcess struct {}
1719
1820// Stop is a no-op on non-Unix platforms.
19- func (p * ProxyProcess ) Stop () error {
21+ func (* ProxyProcess ) Stop () error {
2022 return nil
2123}
2224
23- // TryProxy is not needed on non-Unix platforms and always returns nil .
24- func TryProxy (ctx context.Context ) (* ProxyProcess , error ) {
25- return nil , nil
25+ // TryProxy is not needed on non-Unix platforms.
26+ func TryProxy (_ context.Context ) (* ProxyProcess , error ) {
27+ return & ProxyProcess {} , nil
2628}
2729
2830// EnsureTray always succeeds on non-Unix platforms.
29- func EnsureTray (ctx context.Context ) (* ProxyProcess , error ) {
30- return nil , nil
31+ func EnsureTray (_ context.Context ) (* ProxyProcess , error ) {
32+ return & ProxyProcess {} , nil
3133}
3234
3335// ShowContextMenu is a no-op on non-Unix platforms.
You can’t perform that action at this time.
0 commit comments