Skip to content

Commit 348344d

Browse files
committed
go-script-bash v1.6.0
1 parent 2628d11 commit 348344d

File tree

4 files changed

+15
-26
lines changed

4 files changed

+15
-26
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ page][go-rel]. The archives for the current release are:
261261

262262
[go-rel]: https://github.com/mbland/go-script-bash/releases
263263

264-
- https://github.com/mbland/go-script-bash/archive/v1.5.0.tar.gz
265-
- https://github.com/mbland/go-script-bash/archive/v1.5.0.zip
264+
- https://github.com/mbland/go-script-bash/archive/v1.6.0.tar.gz
265+
- https://github.com/mbland/go-script-bash/archive/v1.6.0.zip
266266

267267
You can also add this repository to your project as a [Git submodule][git-sub]:
268268

RELEASE.md

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# go-script-bash v1.5.0
1+
# go-script-bash v1.6.0
22

3-
This is a minor update to add the `lib/prompt` and `lib/existence` modules that import functionality from the first draft of the [mbland/certbot-webroot-setup][cws] project.
4-
5-
[cws]: https://github.com/mbland/certbot-webroot-setup
3+
This is a minor update to add the capability to `go-template` to download a release tarball from GitHub rather than using `git clone` to add the go-script-bash framework to a project working directory.
64

75
## The `./go` script: a unified development environment interface
86

@@ -27,34 +25,25 @@ This software is made available as [Open Source software][oss-def] under the [IS
2725

2826
## What's new in this release
2927

30-
All of the issues and pull requests for this release are visible in the [v1.5.0 milestone][].
31-
32-
[v1.5.0 milestone]: https://github.com/mbland/go-script-bash/milestone/3?closed=1
33-
34-
### `lib/prompt` module
28+
All of the issues and pull requests for this release are visible in the [v1.6.0 milestone][].
3529

36-
The new `lib/prompt` module contains several new user input prompt functions. Also, `@go.select_option` has been moved from `go-core.bash` to the `lib/prompt` module. The new `./go demo-core prompt` command demonstrates most of the new user prompt behavior.
30+
[v1.6.0 milestone]: https://github.com/mbland/go-script-bash/milestone/4?closed=1
3731

38-
### `lib/existence` module
32+
### Download a go-script-bash release tarball from GitHub in `go-template`
3933

40-
The new `lib/existence` module contains convenience functions for checking whether a file or command exists and is accessible on the system, and provides standard error reporting if not.
34+
Thanks to [Juan Saavedra][elpaquete], `go-template` now has the capability to download and unpack a release tarbal from GitHub in order to add the go-script-bash framework to a project's working directory, rather than relying on `git clone`. Now `git clone` will be used as a backup in case the system doesn't have the tools to download and unpack the tarball, or the operation fails for some reason.
4135

42-
### `@go.trim` added to `lib/strings`
43-
44-
`@go.trim` trims leading and trailing whitespace from strings, and supports the parsing of user input data in functions from the `lib/prompt` module.
36+
[elpaquete]: https://github.com/elpaquete
4537

4638
### Bug fixes
4739

48-
Just one this time: `./go new --test` now outputs `load environment` correctly for top-level tests within `_GO_TEST_DIR` ([#171][], [#172][]).
49-
50-
[#171]: https://github.com/mbland/go-script-bash/pull/171
51-
[#172]: https://github.com/mbland/go-script-bash/issues/172
40+
None in this release.
5241

53-
## Changes since v1.4.0
42+
## Changes since v1.5.0
5443

5544
You can see the details of every change by issuing one or more of the following commands after cloning: https://github.com/mbland/go-script-bash
5645

5746
<pre>
58-
$ ./go changes v1.4.0 v1.5.0
59-
$ gitk v1.4.0..HEAD
47+
$ ./go changes v1.5.0 v1.6.0
48+
$ gitk v1.5.0..HEAD
6049
</pre>

go-core.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fi
4040
# This and other variables are exported, so that command scripts written in
4141
# languages other than Bash (and hence run in new processes) can access them.
4242
# See `./go vars` and `./go help vars`.
43-
declare -r -x _GO_CORE_VERSION='v1.5.0'
43+
declare -r -x _GO_CORE_VERSION='v1.6.0'
4444

4545
# The URL of the framework's original source repository
4646
declare -r -x _GO_CORE_URL='https://github.com/mbland/go-script-bash'

go-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export _GO_STANDALONE=
3535
declare GO_SCRIPTS_DIR="${GO_SCRIPTS_DIR:-scripts}"
3636

3737
# The `GO_SCRIPT_BASH_REPO_URL` tag or branch you wish to use
38-
declare GO_SCRIPT_BASH_VERSION="${GO_SCRIPT_BASH_VERSION:-v1.5.0}"
38+
declare GO_SCRIPT_BASH_VERSION="${GO_SCRIPT_BASH_VERSION:-v1.6.0}"
3939

4040
# The go-script-bash installation directory within your project
4141
declare GO_SCRIPT_BASH_CORE_DIR="${GO_SCRIPT_BASH_CORE_DIR:-${0%/*}/$GO_SCRIPTS_DIR/go-script-bash}"

0 commit comments

Comments
 (0)