File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ## 3.1.0 - 2018-04-17
1+ ## 3.0.1 - 2018-04-17
22
33## Improved
44
Original file line number Diff line number Diff line change 1616
1717plugins {
1818 id ' com.github.ben-manes.versions' version ' 0.14.0'
19+ id ' co.riiid.gradle' version ' 0.4.2'
1920}
2021
2122apply plugin : ' java'
@@ -118,3 +119,21 @@ task deploy(type: Copy) {
118119 from jar
119120 into ' gocd/server/plugins/external'
120121}
122+
123+ github {
124+ owner = System . getenv(' GITHUB_USER' ) ?: ' bob'
125+ repo = ' docker-swarm-elastic-agents'
126+ token = System . getenv(' GITHUB_TOKEN' ) ?: ' bad-token'
127+ tagName = project. ext. pluginVersion
128+ name = project. ext. pluginVersion
129+ targetCommitish = project. gitRevision
130+ body = """
131+ # Version ${ project.ext.pluginVersion}
132+
133+ See release notes at https://github.com/${ github.owner} /${ github.repo} /blob/master/CHANGELOG.md#${ github.tagName.replaceAll(/[^A-Za-z0-9]/, '')}
134+ """ . stripIndent(). trim()
135+
136+ assets = jar. outputs. files. files
137+ }
138+
139+ githubRelease. dependsOn assemble
You can’t perform that action at this time.
0 commit comments