Skip to content

Commit f12fb3b

Browse files
committed
library-api: fix deployment bug w/ get version
1 parent beee874 commit f12fb3b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deploy-library-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
id: extract_version
4343
working-directory: library-api
4444
run: |
45-
VERSION=$(devbox run -- mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
45+
VERSION=$(devbox run get-library-api-version)
4646
echo "version=$VERSION" >> $GITHUB_OUTPUT
4747
# Create revision-safe version string (replace dots with dashes for Cloud Run)
4848
REVISION_VERSION=$(echo "$VERSION" | tr '.' '-')

devbox.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"cd library-api",
2424
"quarkus build --no-tests"
2525
],
26+
"get-library-api-version": [
27+
"cd library-api",
28+
"mvn help:evaluate -Dexpression=project.version -q -DforceStdout"
29+
],
2630
"build-builder-api-ci": [
2731
"cd builder-api",
2832
"quarkus build --no-tests"

0 commit comments

Comments
 (0)