Skip to content

Commit

Permalink
feat(install.sh): Add install script (inspired by slu install.sh)
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Jan 26, 2024
1 parent 540a151 commit 9e86fab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

VERSION=v0.1.0 && \
OS=linux && \
ARCH=amd64 && \
BIN=goexpandenv && \
curl -fsSL https://github.com/sikalabs/${BIN}/releases/download/${VERSION}/${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz -o ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
tar -xzf ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz ${BIN} && \
rm ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
mv ${BIN} /usr/local/bin/

0 comments on commit 9e86fab

Please sign in to comment.