Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 47b19f3

Browse files
author
Erik Hollensbe
committed
box v0.5.1
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
1 parent 5e24ea7 commit 47b19f3

2 files changed

Lines changed: 15 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v0.5.1
2+
3+
* `entrypoint` and `cmd` now handle nils and arrays of strings appropriately.
4+
15
### v0.5.0
26

37
The biggest change in this release is the soft-removal of OS X support. The

install.sh

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/sh
2-
32
# linux/mac installer for box
4-
5-
version=0.5.0
3+
set -e
4+
version=0.5.1
65
if [ "$(uname -s)" = "Linux" ]; then
76
arch="linux"
87
else
@@ -13,9 +12,13 @@ else
1312
fi
1413
fi
1514

16-
echo "Installing version v${version}"
17-
curl -sSL "https://github.com/erikh/box/releases/download/v${version}/box-${version}.${arch}.gz" | gunzip -c > /tmp/box
18-
chmod ugo+x /tmp/box
19-
sudo mv /tmp/box /usr/bin/box
15+
do_install() {
16+
echo "Installing version v${version}"
17+
curl -sSL "https://github.com/erikh/box/releases/download/v${version}/box-${version}.${arch}.gz" | gunzip -c > /tmp/box
18+
chmod ugo+x /tmp/box
19+
sudo mv /tmp/box /usr/bin/box
20+
21+
echo "box v${version} is now installed to /usr/bin/box"
22+
}
2023

21-
echo "box v${version} is now installed to /usr/bin/box"
24+
do_install

0 commit comments

Comments
 (0)