Skip to content

Commit

Permalink
Merge pull request #66 from snyk/chore/patch-changelog-with-latest
Browse files Browse the repository at this point in the history
chore: patch plugin.xml with latest changelog item
  • Loading branch information
pavel-snyk authored Sep 14, 2020
2 parents 228c6e4 + 04747d3 commit b970283
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Snyk Vulnerability Scanner Changelog

## [Unreleased]
## [2.0.1]
### Added
- Propagate integration name for JetBrain IDEs

## [2.0.0]
### Added
Expand Down
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,16 @@ tasks {
subList(indexOf(start) + 1, indexOf(end))
}.joinToString("\n").run { markdownToHTML(this) }
})

changeNotes(
closure {
changelog.getLatest().toHTML()
}
)
}

publishPlugin {
dependsOn("patchChangelog")
token(System.getenv("PUBLISH_TOKEN"))
channels(pluginVersion.split('-').getOrElse(1) { "default" }.split('.').first())
}
Expand Down

0 comments on commit b970283

Please sign in to comment.