Skip to content

Commit a2bf49e

Browse files
committed
Fix broken docs archive path
1 parent b592077 commit a2bf49e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,16 +287,16 @@ html {
287287

288288
task packageHtml(type: Tar, dependsOn: [html, sitemap]) {
289289
description 'Package HTML for distribution, including sitemap.'
290-
archiveBaseName.set(docsArtifactsName)
291-
archiveExtension.set('tar.gz')
292-
archiveVersion.set(versions.gdsManual.toString())
290+
archiveBaseName = docsArtifactsName
291+
archiveExtension = 'tar.gz'
292+
archiveVersion = versions.gdsManual
293293
compression = Compression.GZIP
294294
from { html }
295295
from { sitemap }
296296
// The 'into' path will end up being the URL scheme for the HTML pages on the website.
297297
// It must follow Docs team's layout of `(neo4j.com/docs/)$publication/$version`
298-
into "graph-data-science/$archiveVersion"
299-
destinationDirectory.set(file("$distributionDir/documentation"))
298+
into "graph-data-science/${archiveVersion.get()}"
299+
destinationDirectory = file("$distributionDir/documentation")
300300
}
301301

302302
task pdf {

0 commit comments

Comments
 (0)