Skip to content

Commit 7ea588b

Browse files
Fix maven snapshot deployment test pom version
1 parent c6f74a7 commit 7ea588b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ commands:
171171
steps:
172172
- run: |
173173
tool/test/start-core-server.sh
174-
sed -i -e "s/DRIVER_JAVA_VERSION_MARKER/$CIRCLE_SHA1/g" java/test/deployment/pom.xml
174+
sed -i -e "s/DRIVER_JAVA_VERSION_MARKER/0.0.0-$CIRCLE_SHA1/g" java/test/deployment/pom.xml
175175
cat java/test/deployment/pom.xml
176176
(cd java/test/deployment && mvn test)
177177
tool/test/stop-core-server.sh

.circleci/windows/java/test_deploy_snapshot.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RD /S /Q typedb-server-windows
3030
powershell -Command "Move-Item -Path typedb-server-windows-* -Destination typedb-server-windows"
3131
START /B "" typedb-server-windows\typedb server
3232

33-
powershell -Command "(gc java\test\deployment\pom.xml) -replace 'DRIVER_JAVA_VERSION_MARKER', '%CIRCLE_SHA1%' | Out-File -encoding ASCII java\test\deployment\pom.xml"
33+
powershell -Command "(gc java\test\deployment\pom.xml) -replace 'DRIVER_JAVA_VERSION_MARKER', '0.0.0-%CIRCLE_SHA1%' | Out-File -encoding ASCII java\test\deployment\pom.xml"
3434
type java\test\deployment\pom.xml
3535
cd java\test\deployment
3636
CALL mvn test

0 commit comments

Comments
 (0)