From c7b1493284465b101da020cc4981a4db794a4741 Mon Sep 17 00:00:00 2001 From: manuroe Date: Thu, 8 Aug 2019 17:25:23 +0200 Subject: [PATCH] BF: Build: Fix build based on git tag It was not more possible to build using tags. The reason was the fastlane git_branch method returned nil. Internally this method executes `git symbolic-ref HEAD --short` which returned `fatal: ref HEAD is not a symbolic ref` in our case. We now checks out the tag as a local branch. --- CHANGES.rst | 5 +++-- Tools/Release/buildRelease.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index d00f88af7..507513d45 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,4 +1,4 @@ -Changes in 0.9.2 (2019-07-) +Changes in 0.9.2 (2019-08-08) =============================================== Improvements: @@ -12,7 +12,8 @@ Improvements: Bug fix: * Crash when leaving settings due to backup section refresh animation. * Reactions: Do not display reactions on redacted events in timeline. - * Fix crash for earch bar customisation in iOS13 (#2626). + * Fix crash for search bar customisation in iOS13 (#2626). + * Build: Fix build based on git tag. Changes in 0.9.1 (2019-07-17) =============================================== diff --git a/Tools/Release/buildRelease.sh b/Tools/Release/buildRelease.sh index 739fb2c9b..78a4c1264 100755 --- a/Tools/Release/buildRelease.sh +++ b/Tools/Release/buildRelease.sh @@ -37,8 +37,9 @@ bundle update # Checkout the source to build mkdir -p $BUILD_DIR cd $BUILD_DIR -git clone --single-branch --branch $TAG https://github.com/vector-im/riot-ios.git +git clone https://github.com/vector-im/riot-ios.git cd riot-ios +git checkout -b $TAG $TAG # Develop branch special case