mirror of https://github.com/schollz/croc.git
Merge branch 'master' of github.com:schollz/croc
This commit is contained in:
commit
61ffdc61f3
|
@ -4,7 +4,7 @@
|
||||||
src="https://user-images.githubusercontent.com/6550035/46709024-9b23ad00-cbf6-11e8-9fb2-ca8b20b7dbec.jpg"
|
src="https://user-images.githubusercontent.com/6550035/46709024-9b23ad00-cbf6-11e8-9fb2-ca8b20b7dbec.jpg"
|
||||||
width="408px" border="0" alt="croc">
|
width="408px" border="0" alt="croc">
|
||||||
<br>
|
<br>
|
||||||
<a href="https://github.com/schollz/croc/releases/latest"><img src="https://img.shields.io/badge/version-v8.6.0-brightgreen.svg?style=flat-square" alt="Version"></a>
|
<a href="https://github.com/schollz/croc/releases/latest"><img src="https://img.shields.io/badge/version-v8.6.2-brightgreen.svg?style=flat-square" alt="Version"></a>
|
||||||
<a href="https://coveralls.io/github/schollz/croc"><img src="https://img.shields.io/badge/coverage-81%25-green.svg?style=flat-square" alt="Coverage"></a>
|
<a href="https://coveralls.io/github/schollz/croc"><img src="https://img.shields.io/badge/coverage-81%25-green.svg?style=flat-square" alt="Coverage"></a>
|
||||||
<a href="https://travis-ci.org/schollz/croc"><img
|
<a href="https://travis-ci.org/schollz/croc"><img
|
||||||
src="https://img.shields.io/travis/schollz/croc.svg?style=flat-square" alt="Build
|
src="https://img.shields.io/travis/schollz/croc.svg?style=flat-square" alt="Build
|
||||||
|
|
|
@ -33,7 +33,7 @@ func Run() (err error) {
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "croc"
|
app.Name = "croc"
|
||||||
if Version == "" {
|
if Version == "" {
|
||||||
Version = "v8.6.0-b9b22ad"
|
Version = "v8.6.2-5a791e9"
|
||||||
}
|
}
|
||||||
app.Version = Version
|
app.Version = Version
|
||||||
app.Compiled = time.Now()
|
app.Compiled = time.Now()
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
# VERSION=8.X.Y make release
|
# VERSION=8.X.Y make release
|
||||||
|
|
||||||
release:
|
release:
|
||||||
cd ../../ && go generate
|
cd ../../ && go run src/install/updateversion.go
|
||||||
cd ../../ && go generate
|
git commit -am "bump ${VERSION}"
|
||||||
|
git tag -af v${VERSION} -m "v${VERSION}"
|
||||||
|
git push
|
||||||
|
git push --tags
|
||||||
cp zsh_autocomplete ../../
|
cp zsh_autocomplete ../../
|
||||||
cp bash_autocomplete ../../
|
cp bash_autocomplete ../../
|
||||||
cd ../../ && goreleaser release
|
cd ../../ && goreleaser release
|
||||||
git push
|
|
||||||
cd ../../ && ./src/install/prepare-sources-tarball.sh
|
cd ../../ && ./src/install/prepare-sources-tarball.sh
|
||||||
cd ../../ && ./src/install/upload-src-tarball.sh
|
cd ../../ && ./src/install/upload-src-tarball.sh
|
||||||
|
|
||||||
|
|
|
@ -528,7 +528,7 @@ main() {
|
||||||
local autocomplete_install_rcode
|
local autocomplete_install_rcode
|
||||||
|
|
||||||
croc_bin_name="croc"
|
croc_bin_name="croc"
|
||||||
croc_version="8.6.0"
|
croc_version="8.6.2"
|
||||||
croc_dl_ext="tar.gz"
|
croc_dl_ext="tar.gz"
|
||||||
croc_base_url="https://github.com/schollz/croc/releases/download"
|
croc_base_url="https://github.com/schollz/croc/releases/download"
|
||||||
prefix="${1}"
|
prefix="${1}"
|
||||||
|
|
Loading…
Reference in New Issue