Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xhd2015 committed Apr 21, 2024
1 parent 475614c commit fe8d28f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Binary Install
continue-on-error: true
run: curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash -x
run: curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | env INSTALL_TO_BIN=true bash -x

- name: Binary Install
continue-on-error: true
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import "fmt"

const VERSION = "1.0.25"
const REVISION = "7cc9a90e23160c38dbacfaf2dbfa96a18a9cfbc8+1"
const NUMBER = 196
const REVISION = "475614ccafe4d7d0c7a89b533d87ed3837e6e784+1"
const NUMBER = 197

func getRevision() string {
revSuffix := ""
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ curl --fail --location --progress-bar --output "${tmp_dir}/${file}" "$uri" || er
)

if [[ "$INSTALL_TO_BIN" == "true" ]];then
install "$bin_dir/xgo"
install "$bin_dir/xgo" /usr/local/bin
else
if [[ -f ~/.bash_profile ]];then
content=$(cat ~/.bash_profile)
Expand Down
4 changes: 2 additions & 2 deletions runtime/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

const VERSION = "1.0.25"
const REVISION = "7cc9a90e23160c38dbacfaf2dbfa96a18a9cfbc8+1"
const NUMBER = 196
const REVISION = "475614ccafe4d7d0c7a89b533d87ed3837e6e784+1"
const NUMBER = 197

// these fields will be filled by compiler
const XGO_VERSION = ""
Expand Down

0 comments on commit fe8d28f

Please sign in to comment.