Skip to content

Commit

Permalink
Ensure all artifacts are built as part of the "release command"
Browse files Browse the repository at this point in the history
The wiring of tasks does not happen to the extent that I would have expected from the maven-publish plugin, unless I'm doing something wrong here.
  • Loading branch information
etiennestuder committed Oct 14, 2016
1 parent 8272f50 commit ceabb3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ bintray {
}
}

tasks.build.dependsOn sources

static def timestamp(Date date) {
def timestampFormat = new SimpleDateFormat('yyyyMMddHHmmss')
timestampFormat.timeZone = TimeZone.getTimeZone('UTC')
Expand Down
2 changes: 1 addition & 1 deletion info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Release process:
- ensure `baseVersion` has correct value in build.gradle
- Set `dryRun` to false in the `bintray` config in build.gradle
- Run `gr clean build bintrayUpload -PRELEASE`
- Run `gr clean build generatePomFileForPluginPublicationPublication bintrayUpload -PRELEASE`
- Set `dryRun` to true in the `bintray` config in build.gradle
- Tag release, e.g. `git tag v0.2`, and push the tag
- update `baseVersion` to next anticipated version in build.gradle

0 comments on commit ceabb3e

Please sign in to comment.