automate/020_kite.sh

23 lines
513 B
Bash

USER=kite
PROJECT=kite
#RELEASE=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
#VERSION=VERSION=$( date +%Y-%m-%d_ )git
VERSION=1.0
#DOWNLOAD_DIR=/tmp
URL="https://linux.kite.com/linux/current/kite-installer"
DEST=/var/tmp/kite/
mkdir -p /var/tmp/${DEST}
cat > description-pak << EOF
line-of-code completions for python editors.
EOF
cd ${DEST}
wget -q -O "$DEST" "$URL"
checkinstall --fstrans=no bash -c "./kite-installer --install ${DEST}/kite-installer"