Skip to content

Commit

Permalink
Use today instead of "100" for RC
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 17, 2024
1 parent c15bec7 commit 293a07c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
sed \
-e 's/^const PkgVersion = "//' \
-e 's/"$//')
rc=100
rc=$(date +%Y%m%d)
echo "VERSION=${version}" >> ${GITHUB_ENV}
echo "RC=${rc}" >> ${GITHUB_ENV}
- name: Archive
Expand Down Expand Up @@ -97,10 +97,11 @@ jobs:
tar_gz=$(echo apache-arrow-go-*.tar.gz)
version=${tar_gz#apache-arrow-go-}
version=${version%.tar.gz}
# rc isn't used with VERIFY_DOWNLOAD=0
if [ "${GITHUB_REF_TYPE}" = "tag" ]; then
rc="${GITHUB_REF_NAME#*-rc}"
else
rc=100
rc=$(date +%Y%m%d)
fi
VERIFY_DEFAULT=0 dev/release/verify_rc.sh "${version}" "${rc}"
env:
Expand Down

0 comments on commit 293a07c

Please sign in to comment.