Skip to content

Commit 33284a5

Browse files
committed
add vite commit
1 parent a45d5ef commit 33284a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ tasks.register('buildFrontend', PnpmTask) {
2929
args = ['build']
3030
environment = System.getenv() + [
3131
"VITE_TAG": project.version,
32-
// TODO add git commit
33-
"VITE_COMMIT": ""
32+
"VITE_COMMIT": "git rev-parse --short HEAD".execute().text.trim()
3433
]
3534
}

0 commit comments

Comments
 (0)