We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 94c2c28 + 43c8856 commit 826c04bCopy full SHA for 826c04b
.gitignore
@@ -1,2 +1,3 @@
1
/target
2
-/distribution
+/distribution/*
3
+!/distribution/install.sh
distribution/install.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
4
+VERSION="v0.1.0"
5
+BINARY_NAME="ds"
6
+TARBALL_NAME="ds-x86_64-unknown-linux-gnu.tar.gz"
7
+GITHUB_URL="https://github.com/junhsonjb/dotsec/releases/download/$VERSION/$TARBALL_NAME"
8
9
+curl -sSL "$GITHUB_URL" -o "$TARBALL_NAME"
10
11
+tar -xzf "$TARBALL_NAME"
12
13
+sudo mv "$BINARY_NAME" /usr/local/bin
14
+sudo chmod +x /usr/local/bin/"$BINARY_NAME"
15
16
+echo "🏁 dotsec installed to /usr/local/bin/ds"
17
+ds --version || echo "⛔️ something went wrong with running dotsec (binary: 'ds')"
18
19
+rm "$TARBALL_NAME"
0 commit comments