Skip to content

Commit

Permalink
use version
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Sep 6, 2020
1 parent 22c3541 commit bdb859c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/install/prepare-sources-tarball.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
tmp=$(mktemp -d)
VERSION=$(cat ./src/cli/cli.go | grep 'Version = "v' | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')
echo $VERSION
git clone -b v${VERSION} --depth 1 https://github.com/schollz/croc $tmp/croc-${VERSION}
(cd $tmp/croc-${VERSION} && go mod tidy && go mod vendor)
Expand Down

0 comments on commit bdb859c

Please sign in to comment.