From 5919dbeef9bf40bc4f9dcc5638d29d4667d7cddb Mon Sep 17 00:00:00 2001 From: Wojtek Naruniec Date: Wed, 11 Dec 2024 10:56:28 +0100 Subject: [PATCH] Fix normalized version suffix --- .buildkite/pipeline.yml | 2 ++ fastlane/Fastfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 7bd23e9bf..00ff67c20 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -147,6 +147,7 @@ steps: buildkite-agent artifact download "*.app.zip" . buildkite-agent artifact download "*.dmg" . buildkite-agent artifact download "*.exe" . + buildkite-agent artifact download "*.appx" . buildkite-agent artifact download "*.nupkg" . buildkite-agent artifact download "*\\RELEASES" . @@ -248,6 +249,7 @@ steps: buildkite-agent artifact download "*.zip" . buildkite-agent artifact download "*.dmg" . buildkite-agent artifact download "*.exe" . + buildkite-agent artifact download "*.appx" . buildkite-agent artifact download "*.nupkg" . buildkite-agent artifact download "*\\RELEASES" . diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 44403ca63..9321db84c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -93,7 +93,7 @@ def distribute_builds( # If we are distributing a build without a tag, i.e. a development build, we also want to update the latest build reference for distribution. update_latest = release_tag.nil? suffix = release_tag.nil? ? commit_hash : release_tag - normalized_version = suffix.gsub(/-.*/, '') + normalized_version = suffix.gsub(/^v|-.*/, '') filename_root = 'studio' bucket_folder = 'studio'