Skip to content

Conversation

@LukasReschke
Copy link
Member

As SemVer can be used apps could define a release like "10.0.0-alpha". This is something that we don't support at the moment in the server and we should filter all prereleases.

Ref #2307 (comment)

Signed-off-by: Lukas Reschke lukas@statuscode.ch

@BernhardPosselt That should make you happier 😉

As SemVer can be used apps could define a release like "10.0.0-alpha". This is something that we don't support at the moment in the server and we should filter all prereleases.

Ref #2307 (comment)

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@LukasReschke LukasReschke added the 3. to review Waiting for reviews label Nov 25, 2016
@LukasReschke LukasReschke added this to the Nextcloud 11.0 milestone Nov 25, 2016
foreach($app['releases'] as $release) {
// Exclude all nightly releases
if($release['isNightly'] === false) {
// Exclude all nightly and pre-releases
Copy link
Member

Choose a reason for hiding this comment

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

Pre-releases are defined as "contains a dash"?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Yes, check the semver spec :)

If you disallow the build metadata there's basically only versions like 1.0.0 and pre-releases like 1.0.0-alpha

@MorrisJobke
Copy link
Member

👍

1 similar comment
@ChristophWurst
Copy link
Member

👍

@ChristophWurst ChristophWurst merged commit ad610ae into master Nov 28, 2016
@ChristophWurst ChristophWurst deleted the exclude-pre-releases branch November 28, 2016 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants