You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/stage-vote-release-plugin/src/main/kotlin/com/github/vlsi/gradle/release/StageVoteReleasePlugin.kt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -500,6 +500,7 @@ class StageVoteReleasePlugin @Inject constructor(
500
500
dependsOn(validateBeforeBuildingReleaseArtifacts)
501
501
}
502
502
503
+
val previewSiteDir = layout.buildDirectory.file(project.providers.provider { releaseExt.sitePreview.name })
503
504
val syncPreviewSiteRepo = tasks.register("syncPreviewSiteRepo", Sync::class) {
504
505
onlyIf { releaseExt.sitePreviewEnabled.get() }
505
506
dependsOn(preparePreviewSiteRepo)
@@ -509,7 +510,7 @@ class StageVoteReleasePlugin @Inject constructor(
509
510
include("**/.git/**")
510
511
}
511
512
512
-
into(File(buildDir, releaseExt.sitePreview.name))
513
+
into(previewSiteDir)
513
514
// Just reuse .gitattributes for text/binary and crlf/lf attributes
0 commit comments