From 193524deb05720a830773b4cc139a4dd4646b5e8 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Fri, 17 May 2024 11:29:15 -0400 Subject: [PATCH] Test release and release_candidate workflows --- .github/workflows/release.yml | 6 +++--- .github/workflows/release_candidate.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b19c32e2864e5..8aac1e56c07af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ on: tags: # Trigger workflow when a tag whose name matches the pattern # pattern "apache-arrow-{MAJOR}.{MINOR}.{PATCH}" is pushed. - - "apache-arrow-[0-9]+.[0-9]+.[0-9]+" + - "test-apache-arrow-[0-9]+.[0-9]+.[0-9]+" permissions: contents: write @@ -46,7 +46,7 @@ jobs: echo "RELEASE_CANDIDATE_TAG_NAME=${rc_tag}" >> ${GITHUB_ENV} - name: Store Version and Release Candidate Number run: | - version_with_rc=${RELEASE_CANDIDATE_TAG_NAME#apache-arrow-} + version_with_rc=${RELEASE_CANDIDATE_TAG_NAME#test-apache-arrow-} version=${version_with_rc%-rc*} rc_num=${version_with_rc#${version}-rc} echo "VERSION_WITH_RC=${version_with_rc}" >> ${GITHUB_ENV} @@ -58,7 +58,7 @@ jobs: gh release download ${RELEASE_CANDIDATE_TAG_NAME} --dir release_candidate_artifacts - name: Create Release Title run: | - title="Apache Arrow ${VERSION}" + title="Test Apache Arrow ${VERSION}" echo "RELEASE_TITLE=${title}" >> ${GITHUB_ENV} - name: Create Release Notes run: | diff --git a/.github/workflows/release_candidate.yml b/.github/workflows/release_candidate.yml index 3d5911609317b..9a1acd14692d4 100644 --- a/.github/workflows/release_candidate.yml +++ b/.github/workflows/release_candidate.yml @@ -22,7 +22,7 @@ on: tags: # Trigger workflow when a tag whose name matches the pattern #"apache-arrow-{MAJOR}.{MINOR}.{PATCH}-rc{RC_NUM}" is pushed. - - "apache-arrow-[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" + - "test-apache-arrow-[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" permissions: contents: write @@ -42,7 +42,7 @@ jobs: fetch-depth: 0 - name: Store Version and Release Candidate Number run: | - version_with_rc=${GITHUB_REF_NAME#apache-arrow-} + version_with_rc=${GITHUB_REF_NAME#test-apache-arrow-} version=${version_with_rc%-rc*} rc_num=${version_with_rc#${version}-rc} echo "VERSION_WITH_RC=${version_with_rc}" >> ${GITHUB_ENV}