From dc599dd1ccaaa69e18407ee93925af6a17295411 Mon Sep 17 00:00:00 2001 From: stanbrub Date: Fri, 11 Oct 2024 15:19:52 -0600 Subject: [PATCH] Fixed some path and version issues --- .github/scripts/make-release-distro.sh | 4 ++-- .github/workflows/publish-benchmarks.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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