diff --git a/.github/scripts/make-release-distro.sh b/.github/scripts/make-release-distro.sh
index 13ddd71..8dc5e36 100755
--- a/.github/scripts/make-release-distro.sh
+++ b/.github/scripts/make-release-distro.sh
@@ -15,10 +15,10 @@ if [[ $# != 2 ]]; then
fi
RELEASE_VERSION=$1
-DISTRO_SOURCE=$2
+DISTRO_SOURCE=$(echo $(cd $(dirname "$2"); pwd)/$(basename "$2"))
ARTIFACT=deephaven-benchmark-${RELEASE_VERSION}
-DISTRO_DEST=target/distro
WORKING_DIR=$(pwd)
+DISTRO_DEST=${WORKING_DIR}/target/distro
# Generate dependencies directory
mkdir -p ${DISTRO_DEST}/libs/
diff --git a/.github/workflows/publish-benchmarks.yml b/.github/workflows/publish-benchmarks.yml
index 4a6b3ba..c95e51c 100644
--- a/.github/workflows/publish-benchmarks.yml
+++ b/.github/workflows/publish-benchmarks.yml
@@ -77,7 +77,7 @@ jobs:
- name: Build and Install Release Artifacts Locally
working-directory: ${{env.RELEASE_DIR}}
run: |
- sed -i "s!1.0-SNAPSHOT!${VERSION}!" pom.xml
+ sed -i "s;1.0-SNAPSHOT;${VERSION};" pom.xml
mvn -B install --file pom.xml
docker compose down