-
Notifications
You must be signed in to change notification settings - Fork 34
Ensure a build suffix is added to incoming version #190
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'm not sure the Android builder is going to like this:
osu-deploy/Builders/AndroidBuilder.cs
Lines 39 to 42 in 8ab7946
Also note that both the Velopack and GH uploaders match the release by tag with this name:
osu-deploy/Uploaders/VelopackUploader.cs
Lines 70 to 71 in 8ab7946
osu-deploy/Uploaders/GitHubUploader.cs
Line 32 in 8ab7946
I don't know how this behaves exactly so have you tested this? Android/iOS is a much of a muchness but at least in-so-far as you've tested you can actually upload vpk releases to GH with your intended tagging workflow.
Because, it does mean that the
ifcondition doesn't actually make much sense here - ifversionis arriving without a suffix then releases aren't going to get matched.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.
may need custom handling, didn't notice this.
Tag is probably what we want, but maybe not release name, I'l check on this.
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.
I've fixed the android builder issue. The other issue you bring up doesn't seem like it needs any changes, but I haven't done a test of this yet.
One thing I'd want to confirm is that it is okay to have the suffix in the release asset filenames?
ie does velopack manage things based on
PackageIdand this is a non-issue as a result?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.
Yes it's fine. The asset filenames don't matter as long as it's velopack that's generating them.
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.
In that case I think we could get this in and do a test run (then pull the build quickly if there's any issues).