Open Larusso opened 3 years ago
When executing a final release for a WDK project the actual github release is marked as prerelease. I checked the code and it looks like we changed the check values during the gradle upgrade process. Currently we check for project.status != 'final'. as seen here: https://github.com/wooga/atlas-release/blob/a16777d2f25d00213ca8f9732a74fec4be2d9897/src/main/groovy/wooga/gradle/release/ReleasePlugin.groovy#L238
prerelease
project.status != 'final'
The old code did check githubPublishTask.setPrerelease({ project.status != 'release' })
githubPublishTask.setPrerelease({ project.status != 'release' })
We need to fix this and maybe provide a test case to verify this.
Should it then check for (not final OR not release)?
Description
When executing a final release for a WDK project the actual github release is marked as
prerelease
. I checked the code and it looks like we changed the check values during the gradle upgrade process. Currently we check forproject.status != 'final'
. as seen here: https://github.com/wooga/atlas-release/blob/a16777d2f25d00213ca8f9732a74fec4be2d9897/src/main/groovy/wooga/gradle/release/ReleasePlugin.groovy#L238The old code did check
githubPublishTask.setPrerelease({ project.status != 'release' })
We need to fix this and maybe provide a test case to verify this.