Skip to content

Commit

Permalink
Update template formate in install script (flyteorg#48)
Browse files Browse the repository at this point in the history
Signed-off-by: yuvraj <[email protected]>
  • Loading branch information
yindia authored and austin362667 committed May 7, 2024
1 parent 45c3fb0 commit 94cabe5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flytectl/install.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
# Code generated by godownloader on 2021-02-08T20:29:16Z. DO NOT EDIT.
# Code generated by godownloader on 2021-04-03T07:49:04Z. DO NOT EDIT.
#

usage() {
Expand Down Expand Up @@ -101,7 +101,7 @@ adjust_os() {
case ${OS} in
386) OS=i386 ;;
amd64) OS=x86_64 ;;
darwin) OS=macOS ;;
darwin) OS=Darwin ;;
linux) OS=Linux ;;
windows) OS=Windows ;;
esac
Expand All @@ -112,7 +112,7 @@ adjust_arch() {
case ${ARCH} in
386) ARCH=i386 ;;
amd64) ARCH=x86_64 ;;
darwin) ARCH=macOS ;;
darwin) ARCH=Darwin ;;
linux) ARCH=Linux ;;
windows) ARCH=Windows ;;
esac
Expand Down Expand Up @@ -382,7 +382,7 @@ adjust_arch

log_info "found version: ${VERSION} for ${TAG}/${OS}/${ARCH}"

NAME=${PROJECT_NAME}_${VERSION}_${OS}_${ARCH}
NAME=${PROJECT_NAME}_${OS}_${ARCH}
TARBALL=${NAME}.${FORMAT}
TARBALL_URL=${GITHUB_DOWNLOAD}/${TAG}/${TARBALL}
CHECKSUM=checksums.txt
Expand Down

0 comments on commit 94cabe5

Please sign in to comment.