Skip to content

Commit

Permalink
ci(travis): Fixes release script
Browse files Browse the repository at this point in the history
  • Loading branch information
asciidisco committed Oct 4, 2017
1 parent 57cd87b commit a22043e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit a22043e

Please sign in to comment.