Skip to content

Commit

Permalink
Fix normalized version suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekn committed Dec 11, 2024
1 parent 287a659 commit 5919dbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .
Expand Down Expand Up @@ -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" .
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 5919dbe

Please sign in to comment.