Skip to content

Commit 4d9a25f

Browse files
committed
v2.0.0
1 parent 2664bd4 commit 4d9a25f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dist/.gitkeep

Whitespace-only changes.

gh-cherry-pick

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ case "${ARCH}" in
4040
;;
4141
esac
4242

43+
mkdir -p "${PROGRAM_ROOT}/dist"
44+
4345
if [[ "${OS}" == "unknown" || "${ARCH}" == "unknown" ]]; then
4446
# Unsupported OS or Architecture. Run the script with go instead.
4547
if ! command -v go >/dev/null; then
@@ -50,7 +52,7 @@ if [[ "${OS}" == "unknown" || "${ARCH}" == "unknown" ]]; then
5052
(cd "${PROGRAM_ROOT}" && go build -o dist/gh-cherry-pick ./cmd/gh-cherry-pick)
5153
exec "${PROGRAM_ROOT}/dist/gh-cherry-pick" "$@"
5254
else
53-
GH_CHERRY_PICK_VERSION="1.0.0"
55+
GH_CHERRY_PICK_VERSION="2.0.0"
5456
curl -sSL "https://github.com/134130/gh-cherry-pick/releases/download/v${GH_CHERRY_PICK_VERSION}/gh-cherry-pick-${GH_CHERRY_PICK_VERSION}-${OS}-${ARCH}.tar.gz" | tar -xz -C "${PROGRAM_ROOT}/dist" gh-cherry-pick
5557
exec "${PROGRAM_ROOT}/dist/gh-cherry-pick" "$@"
5658
fi

0 commit comments

Comments
 (0)