Skip to content

Commit

Permalink
To generate release notes, compare against latest tag (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexklibisz committed May 22, 2021
1 parent 51a9271 commit 8125d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Taskfile.jvm.yml
Expand Up @@ -67,7 +67,7 @@ tasks:
- "{{ .CMD_GRADLE }} assemble"
- echo {{ .VERSION }} > release.md
- echo "" >> release.md
- "git --no-pager log origin/master...HEAD --format='- %h: %s' >> release.md"
- "git log $(git tag | grep -v SNAPSHOT | tail -n1)...HEAD --format='- %h: %s' >> release.md"
- hub release delete {{ .VERSION }} || true
- hub release create -p -F release.md -a elastiknn-plugin/build/distributions/elastiknn-*.zip {{ .VERSION }}

Expand All @@ -79,7 +79,7 @@ tasks:
- "{{ .CMD_GRADLE }} assemble"
- echo {{ .VERSION }} > release.md
- echo "" >> release.md
- "git --no-pager log origin/master...HEAD --format='- %h: %s' >> release.md"
- "git log $(git tag | grep -v SNAPSHOT | tail -n1)...HEAD --format='- %h: %s' >> release.md"
- hub release create -p -F release.md -a elastiknn-plugin/build/distributions/elastiknn-*.zip {{ .VERSION }}

run:gradle:
Expand Down

0 comments on commit 8125d52

Please sign in to comment.