Skip to content

Conversation

@Sjors
Copy link
Member

@Sjors Sjors commented May 4, 2022

Follows the same pattern as d8b705f (v22.0) and 8a57a06 (v0.21.0).

Starting from v23.0 there is a separate macOS release for x86_64 and aarch64.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comparison float(tag[1:]) < 23 looks ugly ... doesn't it break when tag is e.g. "v0.21.0"?

I think the simple tag < "v23" or tag[1:] < "23" does the trick, no?

Also this is Python so we can use platform in ...

Suggested change
if float(tag[1:]) < 23 and (platform == "x86_64-apple-darwin" or platform == "aarch64-apple-darwin"):
if tag < "v23" and platform in ["x86_64-apple-darwin", "aarch64-apple-darwin"]:

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Starting from v23.0 there is a separate macOS release for x86_64 and aarch64.

Co-authored-by: Pavol Rusnak <[email protected]>
@Sjors Sjors force-pushed the 2022/05/add_previous_release branch from b395bb6 to dba1231 Compare May 6, 2022 08:01
Copy link
Contributor

@prusnak prusnak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach ACK dba1231

@maflcko maflcko merged commit 77a9997 into bitcoin:master May 6, 2022
@Sjors Sjors deleted the 2022/05/add_previous_release branch May 6, 2022 14:25
@bitcoin bitcoin locked and limited conversation to collaborators May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants