Skip to content

Conversation

@mpminardi
Copy link
Member

Check against platform and package specific version numbers returned from pkgs.tailscale.com instead of defaulting to "Version" as this can be incorrect for certain platforms when a release has only been built for a subset of platforms.

For example. 1.90.2 is available for linux at the time of writing so "Version" is 1.90.2, but only 1.90.1 is available for windows which causes an error when using latest as the version specifier on windows machines.

Fixes #219

@mpminardi mpminardi self-assigned this Oct 26, 2025
@mpminardi mpminardi force-pushed the mpminardi/latest-fix branch from 1010197 to 9cd49c2 Compare October 26, 2025 23:59
@mpminardi mpminardi force-pushed the mpminardi/gitattributes branch from 566354e to c17f550 Compare October 27, 2025 00:00
@mpminardi mpminardi force-pushed the mpminardi/latest-fix branch 3 times, most recently from 1144db3 to 8a26a6f Compare October 27, 2025 00:06
@mpminardi mpminardi changed the base branch from mpminardi/gitattributes to main October 27, 2025 00:06
Check against platform and package specific version numbers returned
from pkgs.tailscale.com instead of defaulting to "Version" as this can
be incorrect for certain platforms when a release has only been built
for a subset of platforms.

For example. 1.90.2 is available for linux at the time of writing so
"Version" is 1.90.2, but only 1.90.1 is available for windows which
causes an error when using latest as the version specifier on windows
machines.

Fixes #219

Signed-off-by: Mario Minardi <mario@tailscale.com>
@mpminardi mpminardi force-pushed the mpminardi/latest-fix branch from 8a26a6f to bf5cb7c Compare October 27, 2025 00:34
Copy link
Collaborator

@oxtoacart oxtoacart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mpminardi mpminardi merged commit c8de7fa into main Oct 27, 2025
14 checks passed
@mpminardi mpminardi deleted the mpminardi/latest-fix branch October 27, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

latest and unstable can default to versions that are not available for a given platform

2 participants