Skip to content

Commit

Permalink
activated github release publishing in build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
redrezo committed Aug 5, 2020
1 parent c4ac2f4 commit ae610a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ task publishGithubRelease() {

def release = github.createRelease(Versioning.releaseTag, Versioning.gitSHA, "DriftFX $Versioning.version", """
### Update Site
### p2 Update Site
https://download.eclipse.org/$UpdateSitePath
### Maven
Repo: https://repo.eclipse.org/content/groups/efxclipse
Expand All @@ -395,15 +395,15 @@ task publishGithubRelease() {
"driftfx-dist-${Versioning.version}.zip",
null)

def modify = github.modifyRelease(releaseId, Versioning.releaseTag, true)
def modify = github.modifyRelease(releaseId, Versioning.releaseTag, false)
println new groovy.json.JsonBuilder(modify).toPrettyString()

} else {

def release = github.createRelease(Versioning.timestamp, Versioning.gitSHA, "DriftFX Nightly $Versioning.qualifier", """
This is a nightly build. (The Version number 999.0.0 indicates nightly builds)
### Update Site
### p2 Update Site
https://download.eclipse.org/$UpdateSitePath
### Maven
Repo: https://repo.eclipse.org/content/groups/efxclipse
Expand All @@ -426,7 +426,7 @@ task publishGithubRelease() {

println "going to modify release..."

def modify = github.modifyRelease(releaseId, Versioning.timestamp, true)
def modify = github.modifyRelease(releaseId, Versioning.timestamp, false)
println new groovy.json.JsonBuilder(modify).toPrettyString()


Expand Down

0 comments on commit ae610a4

Please sign in to comment.