Skip to content

Commit

Permalink
chore(dev/release): fix post-release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed May 21, 2024
1 parent f6541b2 commit 5a86052
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 3 additions & 4 deletions dev/release/post-03-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ source "${SOURCE_DIR}/utils-common.sh"
source "${SOURCE_DIR}/utils-prepare.sh"

main() {
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <rc-num>"
if [ "$#" -ne 0 ]; then
echo "Usage: $0"
exit 1
fi
local -r rc_number="$1"
local -r tag="apache-arrow-adbc-${RELEASE}-rc${rc_number}"

local -r tag="apache-arrow-adbc-${RELEASE}"
local -r tmp=$(mktemp -d -t "arrow-post-python.XXXXX")

header "Downloading Python packages for ${RELEASE}"
Expand Down
4 changes: 2 additions & 2 deletions dev/release/post-04-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ main() {
exit 1
fi

header "Tagging Go release ${RELEASE}"
header "Tagging Go release ${VERSION_NATIVE}"

version_tag="apache-arrow-adbc-${VERSION_NATIVE}"
version_tag="apache-arrow-adbc-${RELEASE}"
go_arrow_tag="go/adbc/v${VERSION_NATIVE}"

git tag "${go_arrow_tag}" "${version_tag}"
Expand Down
4 changes: 4 additions & 0 deletions dev/release/post-07-csharp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ set -e
set -u
set -o pipefail

SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SOURCE_DIR}/utils-common.sh"
source "${SOURCE_DIR}/utils-prepare.sh"

main() {
if [ "$#" -ne 0 ]; then
echo "Usage: $0"
Expand Down

0 comments on commit 5a86052

Please sign in to comment.