From 73f97ea8741069e73da3959fa472c3b9b448ecdc Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 28 Mar 2020 19:48:06 +0100 Subject: [PATCH 1/2] Ensured releases are published to github before the docker image is built --- .travis.yml | 12 ++++++------ CHANGELOG.md | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9c41ec31..8b232c76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,12 +48,6 @@ before_deploy: - if [[ ! -z $TRAVIS_TAG && "${TRAVIS_PHP_VERSION}" == "7.4" ]]; then ./build.sh ${TRAVIS_TAG#?} ; fi deploy: - - provider: script - script: bash ./docker/build - on: - all_branches: true - condition: $TRAVIS_PULL_REQUEST == 'false' - php: '7.4' - provider: releases api_key: secure: a9dbZchocqeuOViwUeNH54bQR5Sz7rEYXx5b9WPFtnFn9LGKKUaLbA2U91UQ9QKPrcTpsALubUYbw2CnNmvCwzaY+R8lCD3gkU4ohsEnbpnw3deOeixI74sqBHJAuCH9FSaRDGILoBMtUKx2xlzIymFxkIsgIukkGbdkWHDlRWY3oTUUuw1SQ2Xk9KDsbJQtjIc1+G/O6gHaV4qv/R9W8NPmJExKTNDrAZbC1vIUnxqp4UpVo1hst8qPd1at94CndDYM5rG+7imGbdtxTxzamt819qdTO1OfvtctKawNAm7YXZrrWft6c7gI6j6SI4hxd+ZrrPBqbaRFHkZHjnNssO/yn4SaOHFFzccmu0MzvpPCf0qWZwd3sGHVYer1MnR2mHYqU84QPlW3nrHwJjkrpq3+q0JcBY6GsJs+RskHNtkMTKV05Iz6QUI5YZGwTpuXaRm036SmavjGc4IDlMaYCk/NmbB9BKpthJxLdUpczOHpnjXXHziotWD6cfEnbjU3byfD8HY5WrxSjsNT7SKmXN3hRof7bk985ewQVjGT42O3NbnfnqjQQWr/B7/zFTpLR4f526Bkq12CdCyf5lvrbq+POkLVdJ+uFfR7ds248Ue/jBQy6kM1tWmKF9QiwisFlA84eQ4CW3I93Rp97URv+AQa9zmbD0Ve3Udp+g6nF5I= @@ -62,3 +56,9 @@ deploy: on: tags: true php: '7.4' + - provider: script + script: bash ./docker/build + on: + all_branches: true + condition: $TRAVIS_PULL_REQUEST == 'false' + php: '7.4' diff --git a/CHANGELOG.md b/CHANGELOG.md index 718a094e..fe4fcaa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). +## 2.1.1 - 2020-03-28 + +#### Added + +* *Nothing* + +#### Changed + +* *Nothing* + +#### Deprecated + +* *Nothing* + +#### Removed + +* *Nothing* + +#### Fixed + +* [#697](https://github.com/shlinkio/shlink/issues/697) Recovered `.htaccess` file that was unintentionally removed in v2.1.0, making Shlink unusable with Apache. + + ## 2.1.0 - 2020-03-28 #### Added From e30a72452956f4f1aee06d5eae77e3ecf63380e5 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 28 Mar 2020 19:54:02 +0100 Subject: [PATCH 2/2] Make sure dist files include the htaccess file --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index b3d28b9d..2f5a23bd 100755 --- a/build.sh +++ b/build.sh @@ -19,6 +19,7 @@ mkdir -p "${builtcontent}" rsync -av * "${builtcontent}" \ --exclude=*docker* \ --exclude=Dockerfile \ + --include=.htaccess \ --exclude-from=./.dockerignore cd "${builtcontent}"