File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ section for the next release.
66For more information about this file see also [ Keep a Changelog] ( http://keepachangelog.com/ ) .
77
88
9+ ## [ 5.0.4] - 2018-10-11
10+
11+ ### Fixes
12+
13+ - #600 : Error when starting BETY as docker container due to frozen variable.
14+
915## [ 5.0.3] - 2018-09-28
1016
1117### Fixes
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def commit_is_tagged?
128128
129129def commit_tags
130130 e = ENV [ 'BETY_GIT_TAGS' ]
131- ref_names = e . nil? || e . empty? ? `git log --pretty=format:"%d" -1` : e
131+ ref_names = e . nil? || e . empty? ? `git log --pretty=format:"%d" -1` : e . dup
132132 if /tag/ . match ( ref_names ) . nil?
133133 return ""
134134 end
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3+ # so we can run script outside of docker hub
4+ IMAGE_NAME=${IMAGE_NAME:- " pecan/bety:latest" }
5+
6+ # build the actual container
37docker build \
48 --build-arg BETY_GIT_TAGS=" $( git log --pretty=format:%d -1) " \
59 --build-arg BETY_GIT_BRANCH=" $( git rev-parse --abbrev-ref HEAD) " \
You can’t perform that action at this time.
0 commit comments