Skip to content

Commit

Permalink
Automatically publish tagged releases. (Kansattica#18)
Browse files Browse the repository at this point in the history
Use the tag commit as the release body.
  • Loading branch information
Kansattica authored Apr 17, 2020
1 parent 48b9e37 commit b39d672
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,15 @@ after_success:
- echo $FINISHED_BINARY_NAME
- mv $EXELOCATION $FINISHED_BINARY_NAME

before_deploy:
- git tag -l --format='%(contents)' $TRAVIS_TAG > msync_release_notes

deploy:
provider: releases
skip_cleanup: true
draft: true
edge: true
file: $FINISHED_BINARY_NAME
api_key: $API_KEY
name: msync release $TRAVIS_TAG
release_notes_file: msync_release_notes
on:
tags: true

0 comments on commit b39d672

Please sign in to comment.