From a22043ef647ae3e701eeafffe2d9a51d70dd888f Mon Sep 17 00:00:00 2001 From: asciidisco Date: Wed, 4 Oct 2017 18:23:51 +0200 Subject: [PATCH] ci(travis): Fixes release script --- .travis.yml | 2 +- makefile | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63009c6..f19a096 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ deploy: github_token: $GITHUB_TOKEN tag_name: $(kodi-release -p) name: $(kodi-release -p) - body: $(kodi-release -l) + body: $(cat ./.changes) on: branch: master - provider: pages diff --git a/makefile b/makefile index 6df28b7..094b434 100644 --- a/makefile +++ b/makefile @@ -58,16 +58,17 @@ tag: echo "Next version: ${NEXT_VERSION}" echo "Latest changes:" kodi-release -l + kodi-release -l -o .changes make docs touch ./_build/.nojekyll git config user.name "travis-ci" git config user.email "public@asciidisco.com" + kodi-release -a -o ./Authors.md + kodi-release -c -o ./Changelog.md git remote rm origin git remote add origin https://asciidisco:${GITHUB_TOKEN}@github.com/asciidisco/plugin.video.telekom-sport.git git checkout master - kodi-release -a -o ./Authors.md - kodi-release -c -o ./Changelog.md - kodi-release -u + kodi-release -u git add -f ./Changelog.md git add -f ./Authors.md git add package.json @@ -76,6 +77,7 @@ tag: git tag ${NEXT_VERSION} git push origin master git push --tags + git fetch --all --tags --prune --progress help: @echo " clean-pyc"