From 27429c8b79fddeaccb960ed0a2b9a106c958078e Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 2 Feb 2023 15:53:19 +0000 Subject: [PATCH] Fix paths. (#2288) --- .github/workflows/release.yml | 2 +- tools/ci-scripts/upgrade-gradle-properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20b061653..69a7b71ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,7 +127,7 @@ jobs: uses: ./smithy-rs/.github/actions/download-all-artifacts - name: Push gradle.properties changes id: gradle-push - working-directory: artifacts + working-directory: upgrade-gradle-properties/smithy-rs shell: bash env: SEMANTIC_VERSION: ${{ inputs.semantic_version }} diff --git a/tools/ci-scripts/upgrade-gradle-properties b/tools/ci-scripts/upgrade-gradle-properties index 8e65369e1..3982b430f 100755 --- a/tools/ci-scripts/upgrade-gradle-properties +++ b/tools/ci-scripts/upgrade-gradle-properties @@ -8,7 +8,7 @@ set -eux SEMANTIC_VERSION="${1}" SMITHY_RS_DIR="$(pwd)/smithy-rs" -ARTIFACTS_DIR="$(pwd)/artifacts" +ARTIFACTS_DIR="$(pwd)/artifacts/upgrade-gradle-properties" mkdir -p "${ARTIFACTS_DIR}" pushd "${SMITHY_RS_DIR}" @@ -24,5 +24,5 @@ popd pushd "${ARTIFACTS_DIR}" git clone "${SMITHY_RS_DIR}" # Copy over the original remotes so that it's possible to push to `origin` -cp "${SMITHY_RS_DIR}/.git/config" .git/config +cp "${SMITHY_RS_DIR}/.git/config" smithy-rs/.git/config popd -- GitLab