Skip to content

Commit

Permalink
Wasn't working in Staging or on Arnej's machine, so changed to be gen…
Browse files Browse the repository at this point in the history
…erating the file in the aureFunctionsDir (#15802)
  • Loading branch information
adegolier authored Sep 6, 2024
1 parent 7f93cf9 commit a318ff9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prime-router/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ tasks.register("generateVersionFile") {
standardOutput = stdout
}
val currentCommit = stdout.toString(StandardCharsets.UTF_8).trim()
File("./version.json").writeText("{\"commitId\": \"$currentCommit\"}")
File(buildDir, "$azureFunctionsDir/$azureAppName/version.json").writeText("{\"commitId\": \"$currentCommit\"}")
}
}

Expand All @@ -524,7 +524,6 @@ tasks.register<Copy>("gatherAzureResources") {
include("metadata/**/*.csv")
include("settings/**/*.yml")
include("assets/**/*__inline.html")
include("version.json")
}

tasks.register("copyAzureResources") {
Expand Down

0 comments on commit a318ff9

Please sign in to comment.