Skip to content
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

Test on top of Erlang/OTP 25+ (not RC) #118

Merged
merged 3 commits into from
May 30, 2022
Merged

Test on top of Erlang/OTP 25+ (not RC) #118

merged 3 commits into from
May 30, 2022

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

No description provided.

@paulo-ferraz-oliveira
Copy link
Collaborator Author

This was done because of a test to an issue, a few minutes ago. In any case, it's an extra confidence boost 😄

And a strict version
We weren't taking our own considerations into account for version strictness
We want to be able to test cases where we use -otp- (if the consumer is doing
it, at least they have to use _strict_ to assert their decision)
@@ -6193,7 +6193,7 @@ async function getOTPVersion(otpSpec0, osVersion) {
const otpVersions = await getOTPVersions(osVersion)
const otpSpec = otpSpec0.match(/^(OTP-)?([^ ]+)/)
let otpVersion
if (otpSpec[1]) {
if (otpSpec[1] && !isStrictVersion()) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was just us being super strict with input, but for the edge case being tested we do want to allow "Using -otp- or OTP-", even though it is to be made explicit via the version-type option.

@starbelly
Copy link
Member

@paulo-ferraz-oliveira Approved, but left it open so you can squash as you like.

@paulo-ferraz-oliveira paulo-ferraz-oliveira merged commit ac7b7d5 into erlef:main May 30, 2022
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the test/otp-25 branch May 30, 2022 14:11
kianmeng added a commit to kianmeng/setup-beam that referenced this pull request Jun 11, 2022
kianmeng added a commit to kianmeng/setup-beam that referenced this pull request Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants