version: fix macOS uploads by increasing build number prefix (#12134)

Fixes tailscale/corp#19979

A build with version number 275 was uploaded to the App Store without bumping OSS first. The presence of that build is causing any 274.* build to be rejected. To address this, added -1 to the year component, which means new builds will use the 275.* prefix.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
This commit is contained in:
Andrea Gottardo
2024-05-14 12:15:13 -07:00
committed by GitHub
parent c6d42b1093
commit 60266be298
2 changed files with 6 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ func TestMkversion(t *testing.T) {
VERSION_TRACK="unstable"
VERSION_EXTRA_HASH="defghi"
VERSION_XCODE="101.15.129"
VERSION_XCODE_MACOS="273.27.3723"
VERSION_XCODE_MACOS="274.27.3723"
VERSION_WINRES="1,15,129,0"
VERSION_MSIPRODUCT_AMD64="89C96952-1FB8-5A4D-B02E-16A8060C56AA"
VERSION_MSIPRODUCT_ARM64="DB1A2E86-66C4-5CEC-8F4C-7DB805370F3A"
@@ -104,7 +104,7 @@ func TestMkversion(t *testing.T) {
VERSION_TRACK="unstable"
VERSION_EXTRA_HASH="defghi"
VERSION_XCODE="101.15.129"
VERSION_XCODE_MACOS="273.27.3723"
VERSION_XCODE_MACOS="274.27.3723"
VERSION_WINRES="1,15,129,0"
VERSION_MSIPRODUCT_AMD64="89C96952-1FB8-5A4D-B02E-16A8060C56AA"
VERSION_MSIPRODUCT_ARM64="DB1A2E86-66C4-5CEC-8F4C-7DB805370F3A"