Skip to content

Commit

Permalink
Add changelog default release body
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnStarich committed Feb 23, 2020
1 parent ba1f809 commit a7d7984
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:
- provider: releases
api_key:
secure: Tp7rwUVjuH0hdt776QIE1YhBIXxWsHGpm0OJ/duQIfw0u9AZpiASW8RZPLggnxpCn6J2nhly+KB/y5evbPxv/61MPd/DZApodRatvipWO45DUQZ+6zhdWlboI6uo+lKAoSZ13CRJDSq1rjEsARrJAI2eGXFfqjde8xy2gtImEBI2v79DcJ87D0A3FU8EhSsFZQNQsum7aHfmANmeaExA2XbBs4PRlt9S2b/0j2z+ZRujig0jcY/7zt2FAgYKCjNBXCvW8fXQ098fB4370Ls8Hh0J0IbsidsUS1dqYg54qEeRwMBiTTXSl+qj35SR7BkDknH3ePIADxTKgTRhCqa3gtDtlmGNS2a3btP9ldsHl1cLp8I+SN+NVmxKWCK2gf5jzDK4fSacx6bvxlS12MLn9fNMd3mHHMiEyckfrble/lGSmyqqgQ/XYC+mPixruR5wokHu3MoHHC/u6SI143op9di05MF/rtWc4ErRsPCEEoWYuX2eSGEN+9QbH7NZ5Oe8+kI2YqD1IK64hmATpn7dZOm6Oddtb9eYA900oqmUIe95eh2L7cUp1JqEmu4BUWR/GzGwpnaek7Vb8IpfKBRXy30a+EKF4TBiJDERtOlvaKUP/lr3Qmc5kG70GCMPaA0KXlxphW0m77ISOfdZb/QyPTQAia3rJZXzRhCcO8wVPn0=
body: "$(make changelog)"
file: "out/*"
file_glob: true
skip_cleanup: true
draft: true
on:
repo: JohnStarich/sage
all_branches: true # earlier if: limits this
- name: macOS app
stage: GitHub Release
if: (branch = master AND repo = JohnStarich/sage) OR tag IS present
Expand Down Expand Up @@ -77,4 +81,4 @@ jobs:
draft: true
on:
repo: JohnStarich/sage
tags: true
all_branches: true # earlier if: limits this
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ static: cache/ofxhome.xml static-deps
# Unset vars from upcoming targets
GOOS= GOARCH= go generate ./server ./client/direct/drivers

.PHONY: changelog
changelog:
@if ! which conventional-changelog >/dev/null; then \
npm install -g conventional-changelog-cli >&2; \
fi
conventional-changelog

.PHONY: start
start:
trap 'jobs -p | xargs kill' EXIT; \
Expand Down

0 comments on commit a7d7984

Please sign in to comment.