File tree 7 files changed +46
-10
lines changed
7 files changed +46
-10
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,19 @@ All notable changes to this project will be documented in this file.
10
10
11
11
### Changed
12
12
13
+ ## [ 0.3.7] - 2015-12-31
14
+ ### Fixed
15
+ - @michaelshobbs force rebuild of packages that are already up to date
16
+ - @michaelshobbs fix buildpack version output after adding dokku/buildpack-nginx
17
+
18
+ ### Removed
19
+ - @michaelshobbs remove unnecessary null line check
20
+
21
+ ### Changed
22
+ - @michaelshobbs re-implement yaml-get and yaml-keys in bash
23
+ - @CEikermann Updated buildpack-php to v90
24
+ - @josegonzalez Upgrade python buildpack to v74
25
+
13
26
## [ 0.3.6] - 2015-12-14
14
27
### Changed
15
28
- Update php buildpack to version 87
@@ -129,7 +142,8 @@ All notable changes to this project will be documented in this file.
129
142
- User for ` buildpack-build ` is ` $USER ` or randomized
130
143
- User for ` procfile-exec ` is ` $USER ` or detected from ` /app `
131
144
132
- [ unreleased ] : https://github.com/gliderlabs/herokuish/compare/v0.3.6...HEAD
145
+ [ unreleased ] : https://github.com/gliderlabs/herokuish/compare/v0.3.7...HEAD
146
+ [ 0.3.7 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.6...v0.3.7
133
147
[ 0.3.6 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.5...v0.3.6
134
148
[ 0.3.5 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.4...v0.3.5
135
149
[ 0.3.4 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.3...v0.3.4
Original file line number Diff line number Diff line change 1
1
FROM heroku/cedar:14
2
- RUN curl https://github.com/gliderlabs/herokuish/releases/download/v0.3.6 /herokuish_0.3.6_linux_x86_64 .tgz \
2
+ RUN curl https://github.com/gliderlabs/herokuish/releases/download/v0.3.7 /herokuish_0.3.7_linux_x86_64 .tgz \
3
3
--silent -L | tar -xzC /bin
4
4
RUN /bin/herokuish buildpack install \
5
5
&& ln -s /bin/herokuish /build \
Original file line number Diff line number Diff line change 1
1
NAME = herokuish
2
2
HARDWARE = $(shell uname -m)
3
- VERSION ?= 0.3.6
3
+ VERSION ?= 0.3.7
4
4
IMAGE_NAME ?= $(NAME )
5
5
BUILD_TAG ?= dev
6
6
7
7
build :
8
8
cat buildpacks/* /buildpack* | sed ' N;s/\n/ /' > include/buildpacks.txt
9
9
go-bindata include
10
- mkdir -p build/linux && GOOS=linux go build -ldflags " -X main.Version $( VERSION) " -o build/linux/$(NAME )
11
- mkdir -p build/darwin && GOOS=darwin go build -ldflags " -X main.Version $( VERSION) " -o build/darwin/$(NAME )
10
+ mkdir -p build/linux && GOOS=linux go build -a - ldflags " -X main.Version $( VERSION) " -o build/linux/$(NAME )
11
+ mkdir -p build/darwin && GOOS=darwin go build -a - ldflags " -X main.Version $( VERSION) " -o build/darwin/$(NAME )
12
12
ifeq ($(CIRCLECI ) ,true)
13
13
docker build -t $(IMAGE_NAME):$(BUILD_TAG) .
14
14
else
Original file line number Diff line number Diff line change 1
- v87
1
+ v90
Original file line number Diff line number Diff line change 1
- v73
1
+ v74
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ version() {
41
41
declare desc=" Show version and supported version info"
42
42
echo " herokuish: ${HEROKUISH_VERSION:- dev} "
43
43
echo " buildpacks:"
44
- asset-cat include/buildpacks.txt | sed ' s/.*heroku\///' | xargs printf " %-26s %s\n"
44
+ asset-cat include/buildpacks.txt | sed -e ' s/.*heroku\/// ' -e ' s/.*dokku \///' | xargs printf " %-26s %s\n"
45
45
}
46
46
47
47
title () {
Original file line number Diff line number Diff line change 1
1
2
+ yaml-esque-keys () {
3
+ declare desc=" Get process type keys from colon-separated structure"
4
+ while read line || [[ -n " $line " ]]; do
5
+ [[ " $line " =~ ^# .* ]] && continue
6
+ key= ${line%%:* }
7
+ echo $key
8
+ done <<< " $( cat) "
9
+ }
10
+
11
+ yaml-esque-get () {
12
+ declare desc=" Get key value from colon-separated structure"
13
+ declare key=" $1 "
14
+ local inputkey
15
+ local cmd
16
+ while read line || [[ -n " $line " ]]; do
17
+ [[ " $line " =~ ^# .* ]] && continue
18
+ inputkey= ${line%%:* }
19
+ cmd= ${line#*: }
20
+ [[ " $inputkey " == " $key " ]] && echo " $cmd "
21
+ done <<< " $( cat) "
22
+ }
23
+
2
24
procfile-parse () {
3
25
declare desc=" Get command string for a process type from Procfile"
4
26
declare type=" $1 "
5
- cat " $app_path /Procfile" | yaml-get " $type "
27
+ cat " $app_path /Procfile" | yaml-esque- get " $type "
6
28
}
7
29
8
30
procfile-start () {
@@ -25,7 +47,7 @@ procfile-types() {
25
47
title " Discovering process types"
26
48
if [[ -f " $app_path /Procfile" ]]; then
27
49
local types
28
- types=" $( cat $app_path /Procfile | yaml-keys | xargs echo) "
50
+ types=" $( cat $app_path /Procfile | yaml-esque- keys | xargs echo) "
29
51
echo " Procfile declares types -> ${types// / , } "
30
52
return
31
53
fi
You can’t perform that action at this time.
0 commit comments