Skip to content

Commit 6c44263

Browse files
committed
go-script-bash v1.1.2
1 parent 22bace2 commit 6c44263

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ scripts can be in any other interpreted language.__
195195
First you'll need a copy of this framework available in your project sources.
196196
Archives are available at:
197197

198-
- https://github.com/mbland/go-script-bash/archive/v1.1.1.tar.gz
199-
- https://github.com/mbland/go-script-bash/archive/v1.1.1.zip
198+
- https://github.com/mbland/go-script-bash/archive/v1.1.2.tar.gz
199+
- https://github.com/mbland/go-script-bash/archive/v1.1.2.zip
200200

201201
You can also add this repository to your project as a [`Git
202202
submodule`](https://git-scm.com/book/en/v2/Git-Tools-Submodules):

RELEASE.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# go-script-bash v1.1.1
1+
# go-script-bash v1.1.2
22

33
This is a bugfix release.
44

@@ -16,16 +16,27 @@ This software is made available as [Open Source software](https://opensource.org
1616

1717
## What's new in this release
1818

19-
### log: Replace `echo -e` with `printf`
19+
### modules: Improved error handling for `. "$_GO_USE_MODULES"`
2020

21-
On at least one macOS 10.12.1 installation, `echo -e` under Bash 3.2.57(1)-release in Terminal.app wasn't converting `\e` sequences to actual ANSI escape sequences. Using `printf` instead resolves the issue.
21+
Previously, the `$_GO_USE_MODULES` script would report an `Unknown module:` error in every error case, even if the module existed but failed for another reason ([Issue #25](https://github.com/mbland/go-script-bash/issues/25)). The module's standard error would also get redirected to `/dev/null`, which made diagnosis even more difficult.
2222

23-
## Changes since v1.1.0
23+
Now any modules that actually exist but return an error when imported will be identified as such, rather than being reported as unknown, and standard error isn't redirected at all ([PR #26](https://github.com/mbland/go-script-bash/pull/26)).
24+
25+
## Changes since v1.1.1
2426

2527
<pre>
26-
187715e Mike Bland <[email protected]>
27-
Merge pull request #24 from mbland/printf-esc-seqs
28+
22bace2 Mike Bland <[email protected]>
29+
Merge pull request #26 from mbland/module-import
30+
31+
8833762 Mike Bland <[email protected]>
32+
use: Improve module import error message
33+
34+
4bb94e2 Mike Bland <[email protected]>
35+
use: Nest module file path tests
36+
37+
92bc468 Mike Bland <[email protected]>
38+
use: Detect module path before sourcing
2839

29-
4bc05c8 Mike Bland <[email protected]>
30-
log: Replace `echo -e` with `printf`
40+
5ea7820 Mike Bland <[email protected]>
41+
modules: Fix incorrect help text
3142
</pre>

go-core.bash

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

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

0 commit comments

Comments
 (0)