mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
update releaser
This commit is contained in:
parent
b755d3f827
commit
6a036d68f6
5 changed files with 45 additions and 36 deletions
|
@ -32,7 +32,7 @@ func Run() (err error) {
|
|||
app := cli.NewApp()
|
||||
app.Name = "croc"
|
||||
if Version == "" {
|
||||
Version = "v6.2.3-b7625ef"
|
||||
Version = "v6.2.4-63ccb14"
|
||||
}
|
||||
app.Version = Version
|
||||
app.Compiled = time.Now()
|
||||
|
|
|
@ -487,7 +487,7 @@ main() {
|
|||
local install_file_rcode
|
||||
|
||||
croc_bin_name="croc"
|
||||
croc_version="6.2.3"
|
||||
croc_version="6.2.4"
|
||||
croc_dl_ext="tar.gz"
|
||||
croc_base_url="https://github.com/schollz/croc/releases/download"
|
||||
prefix="${1}"
|
||||
|
|
5
src/install/prepare-sources-tarball.sh
Executable file
5
src/install/prepare-sources-tarball.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
tmp=$(mktemp -d)
|
||||
git clone --depth 1 https://github.com/schollz/croc $tmp/croc
|
||||
(cd $tmp/croc && go mod tidy && go mod vendor)
|
||||
(cd $tmp && tar -cvzf croc-src.tar.gz croc)
|
||||
mv $tmp/croc-src.tar.gz dist/
|
Loading…
Add table
Add a link
Reference in a new issue