CI: deploy: slightly improved release notes format

This commit is contained in:
Casper da Costa-Luis 2020-07-03 17:48:37 +01:00
parent 15c5c512ff
commit 4b528e8f5b
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ jobs:
-iv $encrypted_a6d6301302b7_iv -in .meta/.tqdm.gpg.enc -out .tqdm.gpg -d
- gpg --import .tqdm.gpg
- rm .tqdm.gpg
- git log --pretty='format:- %s%n%b---' $(git tag --sort=creatordate | tail -n2 | head -n1)..HEAD > CHANGES.md
- git log --pretty='format:%d%n- %s%n%b---' $(git tag --sort=v:refname | tail -n2 | head -n1)..HEAD > _CHANGES.md
deploy:
- provider: script
script: twine upload -s -i tqdm@caspersci.uk.to dist/tqdm-*
@ -140,7 +140,7 @@ jobs:
edge: true
tag_name: $TRAVIS_TAG
target_commitish: $TRAVIS_COMMIT
release_notes_file: CHANGES.md
release_notes_file: _CHANGES.md
on:
tags: true
- name: docker