Skip to content

Commit

Permalink
Test release and release_candidate workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 17, 2024
1 parent 6a148c0 commit 193524d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand All @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 193524d

Please sign in to comment.