-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another try to add AppX to artifact links #733
base: trunk
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +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(/^v|-.*/, '') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
filename_root = 'studio' | ||
bucket_folder = 'studio' | ||
|
||
|
@@ -145,7 +146,20 @@ def distribute_builds( | |
suffix: 'full', | ||
extension: 'nupkg', | ||
name: 'Windows Update' | ||
} | ||
}, | ||
windows_appx: { | ||
binary_path: File.join(BUILDS_FOLDER, 'Studio-appx-signed', "Studio #{normalized_version}.0.appx"), | ||
filename_core: 'win32', | ||
extension: 'appx', | ||
name: 'Windows (Appx)' | ||
}, | ||
Comment on lines
+150
to
+155
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we don't need the signed version of the appx. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, we don't need ZIP, universal, etc. Let's leave it as is for completeness. |
||
windows_appx_unsigned: { | ||
binary_path: File.join(BUILDS_FOLDER, 'Studio-appx-unsigned', "Studio #{normalized_version}.0 unsigned.appx"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This approach doesn't work for dev builds as the build script looks for the Can we remove the version from the files to match behavior for other artifacts? |
||
filename_core: 'win32', | ||
suffix: 'unsigned', | ||
extension: 'appx', | ||
name: 'Windows (Unsigned Appx)' | ||
}, | ||
} | ||
|
||
# Add computed fields | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build step neees to download the appx files before distributing them.