apple build/upload: accept --allow-version-mismatch (flag list regenerated); 1.0 and 1.0.0 are one version train
This commit is contained in:
parent
ebd64e0f76
commit
c7bae75ed0
4 changed files with 20 additions and 2 deletions
|
|
@ -559,6 +559,10 @@ describe('signed AAB, masked signing, IPA version train, release notes', () => {
|
|||
test('the IPA version must be the version train being prepared', () => {
|
||||
expect(ipaVersionProblem('1.0', '1.4.0', 'the editable App Store version')).toContain('--allow-version-mismatch');
|
||||
expect(ipaVersionProblem('1.0', '1.4.0', 'x')).toContain('MARKETING_VERSION=1.4.0');
|
||||
// Apple compares numerically: 1.0 and 1.0.0 are one train
|
||||
expect(ipaVersionProblem('1.0.0', '1.0', 'x')).toBeNull();
|
||||
expect(ipaVersionProblem('2.1', '2.1.0', 'x')).toBeNull();
|
||||
expect(ipaVersionProblem('2.1.1', '2.1', 'x')).not.toBeNull();
|
||||
expect(ipaVersionProblem('1.4.0', '1.4.0', 'x')).toBeNull();
|
||||
expect(ipaVersionProblem('1.0', undefined, 'x')).toBeNull();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue