Skip to content
Permalink
Browse files
add some extra flags, change to sitemap-user
  • Loading branch information
paulk-asert committed Nov 11, 2018
1 parent 6f4d476 commit 1180e5040537d97e13ac3c2ceb069abb39780c8b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -255,7 +255,7 @@ task checkoutGroovyWebsite(dependsOn: uploadDocumentationToGroovyWebsite) {

task findGroovyVersions(dependsOn: checkoutGroovyWebsite) {
doLast {
def sitemapFile = file("$stagingWebsiteDir/site/src/site/sitemap.groovy")
def sitemapFile = file("$stagingWebsiteDir/site/src/site/sitemap-user.groovy")
def matcher = sitemapFile.text =~ /(?ism).*groovyDocumentationVersions\(([^)]*)\).*/
assert matcher[0]
rootProject.ext.versionsText = matcher[0][1]

0 comments on commit 1180e50

Please sign in to comment.