-
Notifications
You must be signed in to change notification settings - Fork 2
Adds the preflight release_stage [ATLAS-645] #111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also set the version scheme to wdk
by default? So we don't need to change this in every wdk. We need to remove the property anyways in all repos we want to integrate this but just in case,
@@ -440,6 +440,7 @@ class ReleasePluginIntegrationSpec extends IntegrationSpec { | |||
"final" | false | |||
"release" | false | |||
"rc" | true | |||
"pre" | true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we call it prefligh
everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought pre
is one of the possible inputs for the preflight
. I guess we should add preflight as well?
I mean back in the atlas-version wdk strategy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am adding it onto atlas-version.
eeeb199
to
459ffcf
Compare
// TODO: Do we need to map this here if the version plugin itself already watches this property (version.scheme)? | ||
// TODO: Set only the convention to 'wdk' here? | ||
//def versionScheme = project.properties.getOrDefault("version.scheme", VERSION_SCHEME_DEFAULT) | ||
// versionExtension.with { | ||
// switch (versionScheme) { | ||
// case VERSION_SCHEME_SEMVER_2: | ||
// versionExtension.versionScheme(VersionScheme.semver2) | ||
// break | ||
// case VERSION_SCHEME_SEMVER_1: | ||
// versionExtension.versionScheme(VersionScheme.semver) | ||
// break | ||
// case VERSION_SCHEME_WDK: | ||
// versionExtension.versionScheme(VersionScheme.wdk) | ||
// break | ||
// } | ||
// } | ||
versionExtension.versionScheme.convention(VersionScheme.wdk) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I mean adjusting the VERSION_SCHEME_DEFAULT
to point to wdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or wait. Scrap this. Leave the old way for now and we deal with this in the WDKs for now.
151401e
to
279bf5b
Compare
Description
Adds support for the preflight release stage.
Changes
preflight
release stage, as a taskatlas-version
to1.1+
, as it includes the newer release stage and wdk strategy.