Skip to content

Commit e000da5

Browse files
committed
Fix causes for failed release and polish release notes
1 parent 00c7c40 commit e000da5

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ description = "Spock Framework"
1313

1414
ext {
1515
baseVersion = "2.1"
16-
snapshotVersion = false
17-
milestone = 1
16+
snapshotVersion = true
17+
milestone = 0
1818
variants = [2.5, 3.0]
1919
variant = System.getProperty("variant") as BigDecimal ?: variants.first()
2020
buildScan.tag "groovy-$variant"
@@ -383,6 +383,11 @@ nexusPublishing {
383383
password = System.getenv("SONATYPE_OSS_PASSWORD")
384384
}
385385
}
386+
transitionCheckOptions {
387+
// closing checks take some time so increase the retries
388+
// total time is maxRetries(180) * delayBetween(10s) = 30m
389+
maxRetries.set(180)
390+
}
386391
}
387392

388393
File script(String name) {

docs/release_notes.adoc

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,27 @@
33
include::include.adoc[]
44

55
== 2.1-M1 (2021-11-12)
6-
- Add support for selecting individual iterations. Individual iterations can now be selected via their unique ID. https://github.com/spockframework/spock/pull/1376[#1376]
6+
7+
8+
=== Highlights
9+
710
- Add <<utilities.adoc#collection-conditions, collection conditions>> https://github.com/spockframework/spock/issues/1372[#1372]
11+
- Add support for selecting individual iterations via their unique ID (IDE support required). https://github.com/spockframework/spock/pull/1376[#1376]
12+
13+
=== Breaking Changes
14+
15+
- Add `data.` support to conditional extensions https://github.com/spockframework/spock/issues/1360[#1360].
16+
This replaces the current behavior of accessing data variables without any prefix.
17+
See <<extensions.adoc#precondition_context, Precondition Context>> for more details.
18+
19+
=== Misc
20+
821
- Add exception translation to JUnit4 Rules https://github.com/spockframework/spock/pull/1342[#1342]
922
- Add option to omit feature name from iterations https://github.com/spockframework/spock/pull/1386[#1386]
1023
and add additional <<data_driven_testing.adoc#unroll_tokens, Special Tokens>> to unroll patterns.
1124
- Add optional reason to `@Requires` and `@IgnoreIf` https://github.com/spockframework/spock/pull/1362[#1362]
1225
- Add `shared.` support to conditional extensions https://github.com/spockframework/spock/pull/1359[#1359].
1326
See <<extensions.adoc#precondition_context, Precondition Context>> for more details.
14-
- Add `data.` support to conditional extensions https://github.com/spockframework/spock/issues/1360[#1360].
15-
This replaces the current behavior of accessing data variables without any prefix.
16-
See <<extensions.adoc#precondition_context, Precondition Context>> for more details.
1727

1828
- Set the owner for condition closures on spec annotations https://github.com/spockframework/spock/pull/1357[#1357]
1929
+

gradle/publishMaven.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ tasks.withType(AbstractPublishToMaven) {
7575

7676
signing {
7777
sign(publishing.publications).each { task ->
78-
task.onlyIf { gradle.taskGraph.hasTask(publish) }
78+
task.onlyIf { gradle.taskGraph.hasTask(publishToSonatype) }
7979
}
8080
}
8181

0 commit comments

Comments
 (0)