Skip to content

Commit

Permalink
move master builds to the BigWigs packager as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanzilla committed May 12, 2018
1 parent ebfe6c4 commit f632477
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@ before_script: /home/travis/.luarocks/bin/luacheck . --no-color -qo "011"
script:
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then ./wowace_translations.sh; fi
- |
./generate_changelog.sh
if [[ "$TRAVIS_TAG" == "8.0-"* ]]; then
./generate_changelog.sh
curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -o -p 65387 -g 8.0.1
else
curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -o -p 65387
fi
# - |
# if [[ "$TRAVIS_TAG" != "8.0-"* ]]; then
# ./generate_changelog.sh
# curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -o -p 65387
# fi
notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion generate_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ url=$( git remote get-url origin | sed -e 's/^git@\(.*\):/https:\/\/\1\//' -e 's
#title='# '${url##*/}
title="# WeakAuras 2"

echo -ne "$title\n\n## [${version}](${url}/tree/${current}) ($date)\n\n[Full Changelog](${url}/compare/${previous}...${current})\n\n" > "CHANGELOG.md"
echo -ne "# [${version}](${url}/tree/${current}) ($date)\n\n[Full Changelog](${url}/compare/${previous}...${current})\n\n" > "CHANGELOG.md"
git shortlog --no-merges --reverse "$previous..$current" | sed -e '/^\w/G' -e 's/^ /- /' >> "CHANGELOG.md"
#git log --pretty=format:"###%s" "$previous..$current" | sed -e 's/^/ /g' -e 's/^ *$//g' -e 's/^ ###/- /g' -e 's/$/ /' >> "CHANGELOG.md"
#echo >> "CHANGELOG.md"

0 comments on commit f632477

Please sign in to comment.