From f61b359cb4f3aa689be8f6cc5063dd9bf9518d93 Mon Sep 17 00:00:00 2001 From: Evyatar Date: Sat, 30 Sep 2023 13:19:52 -0600 Subject: [PATCH] vx: reset to root folder before comitting --- vx/scripts/release/steps/push_to_latest_branch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vx/scripts/release/steps/push_to_latest_branch.sh b/vx/scripts/release/steps/push_to_latest_branch.sh index dca72f511..ce357e57f 100644 --- a/vx/scripts/release/steps/push_to_latest_branch.sh +++ b/vx/scripts/release/steps/push_to_latest_branch.sh @@ -3,6 +3,8 @@ git config --global user.email $EMAIL_ADDRESS --replace-all git config --global user.name $GIT_NAME +echo "Going back to root folder" +cd $GITHUB_WORKSPACE echo "Fetching stable for reference" git fetch https://$PUBLIC_REPO_TOKEN@github.com/$GITHUB_REPOSITORY.git $STABLE_BRANCH || echo "Stable branch doesn't exist"