build(backend): inject app version in jar manifest (#957)
This commit is contained in:
@@ -17,6 +17,8 @@ RUN --mount=type=cache,target=/workspace/.yarn/cache \
|
||||
FROM --platform=$BUILDPLATFORM gradle:9.4.1-jdk25-alpine AS backend-build
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG APP_VERSION=development
|
||||
ARG APP_REVISION=unknown
|
||||
|
||||
WORKDIR /workspace/backend
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "org.booklore"
|
||||
version = "0.0.1-SNAPSHOT"
|
||||
version = System.getenv("APP_VERSION") ?: "0.0.1-SNAPSHOT"
|
||||
|
||||
val defaultFrontendDistDir = file("${rootDir}/../frontend/dist/grimmory/browser")
|
||||
val configuredFrontendDistDir = providers.gradleProperty("frontendDistDir")
|
||||
|
||||
Reference in New Issue
Block a user