diff --git a/CHANGELOG.md b/CHANGELOG.md index 07ea782b..c6fc5f19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this #### Fixed -* *Nothing* +* [#570](https://github.com/shlinkio/shlink/issues/570) Fixed shlink version generated for docker images when building from `develop` branch. ## 1.20.2 - 2019-12-06 diff --git a/hooks/build b/hooks/build index d7d39368..6b381d74 100755 --- a/hooks/build +++ b/hooks/build @@ -1,7 +1,7 @@ #!/bin/bash set -ex -if [[ ${SOURCE_BRANCH} == 'master' ]]; then +if [[ ${SOURCE_BRANCH} == 'develop' ]]; then SHLINK_RELEASE='latest' else SHLINK_RELEASE=${SOURCE_BRANCH#?}