Skip to content

Commit

Permalink
0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimryndin committed May 21, 2024
1 parent 1b43ab2 commit 4f50629
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ body:
label: Which version of Goral do you run (`goral --version`)?
multiple: false
options:
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
Expand Down
9 changes: 7 additions & 2 deletions .github/site/src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ main() {

get_architecture || return 1
local _arch="$RETVAL"
local _version=${1:-'0.1.5'}
local _version=${1:-'0.1.6'}
assert_nz "$_arch" "arch"

local _file="goral-${_version}-${_arch}"
Expand Down Expand Up @@ -57,7 +57,12 @@ main() {
ensure downloader "$_url" "$_output_file" "$_arch"
local _cwd=$(pwd)
cd "$_dir"
tar -xzf "${_file}.tar.gz"
tar -xzf "${_file}.tar.gz"
if $_ansi_escapes_are_valid; then
printf "\33[1minfo:\33[0m checking SHA256 hash of the binary.\n" 1>&2
else
printf '%s\n' 'info: checking SHA256 hash of the binary.' 1>&2
fi
shasum -a 256 -c "${_file}/sha256_checksum.txt"
mv "${_file}/goral" $_cwd
cd $_cwd
Expand Down
8 changes: 4 additions & 4 deletions .github/site/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ curl --proto '=https' --tlsv1.2 -sSf https://maksimryndin.github.io/goral/instal
</summary>

```sh
wget https://github.com/maksimryndin/goral/releases/download/0.1.5/goral-0.1.5-x86_64-unknown-linux-gnu.tar.gz
tar -xzf goral-0.1.5-x86_64-unknown-linux-gnu.tar.gz
cd goral-0.1.5-x86_64-unknown-linux-gnu/
wget https://github.com/maksimryndin/goral/releases/download/0.1.6/goral-0.1.6-x86_64-unknown-linux-gnu.tar.gz
tar -xzf goral-0.1.6-x86_64-unknown-linux-gnu.tar.gz
cd goral-0.1.6-x86_64-unknown-linux-gnu/
shasum -a 256 -c sha256_checksum.txt
```
</details>
Expand All @@ -23,7 +23,7 @@ shasum -a 256 -c sha256_checksum.txt

```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone --depth 1 --branch 0.1.5 https://github.com/maksimryndin/goral
git clone --depth 1 --branch 0.1.6 https://github.com/maksimryndin/goral
cd goral
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target <target triple>
```
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "goral"
version = "0.1.5"
version = "0.1.6"
edition = "2021"
author = "Maksim Ryndin"
license = "Apache-2.0"
Expand Down

0 comments on commit 4f50629

Please sign in to comment.