From a5c9ce40164bffef874f3040ac7cc98cf44c0287 Mon Sep 17 00:00:00 2001 From: Vineeth Bandi Date: Thu, 15 Aug 2024 22:21:40 -0500 Subject: [PATCH] add expected go mock to go release periodic for minor version releases and reduce verbosity of cp commands --- pr-scripts/create_pr.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pr-scripts/create_pr.sh b/pr-scripts/create_pr.sh index a25a6a733..4a0307b44 100755 --- a/pr-scripts/create_pr.sh +++ b/pr-scripts/create_pr.sh @@ -123,13 +123,17 @@ if [[ $JOB_NAME =~ $GOLANG_RELEASE_PERIODIC ]]; then cp -f ${SCRIPT_ROOT}/../EKS_DISTRO_TAG_FILE.yaml ./EKS_DISTRO_TAG_FILE.yaml cp -f ${SCRIPT_ROOT}/../eks-distro-base/golang_versions.yaml ./eks-distro-base/golang_versions.yaml cp -f ${SCRIPT_ROOT}/../builder-base/versions.yaml ./builder-base/versions.yaml - cp -rfv ${SCRIPT_ROOT}/../builder-base/checksums ./builder-base - cp -rfv ${SCRIPT_ROOT}/../eks-distro-base/make-tests/expected ./eks-distro-base/make-tests + cp -f ${SCRIPT_ROOT}/../eks-distro-base/make-tests/make-dry-run ./eks-distro-base/make-tests/make-dry-run + cp -rf ${SCRIPT_ROOT}/../builder-base/checksums ./builder-base + cp -rf ${SCRIPT_ROOT}/../eks-distro-base/make-tests/expected ./eks-distro-base/make-tests git add ./EKS_DISTRO_TAG_FILE.yaml git add ./eks-distro-base/golang_versions.yaml git add ./builder-base/versions.yaml git add ./builder-base/checksums/go-* git add ./eks-distro-base/make-tests/expected/*golang* + git add ./eks-distro-base/make-tests/make-dry-run + # TODO: remove after verifying what changes are unstaged + git diff --name-only fi FILES_ADDED=$(git diff --staged --name-only)