-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- no version bump and release notes commits - supports concurrent merges - no change to the behavior / contents of the published libraries More details: mockito/mockito#2069
- Loading branch information
1 parent
25b7d21
commit 3ececd8
Showing
5 changed files
with
70 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,51 @@ | ||
shipkit { | ||
gitHub.repository = "mockito/mockito-scala" | ||
gitHub.readOnlyAuthToken = "a0a4c0f41c200f7c653323014d6a72a127764e17" | ||
gitHub.writeAuthToken = System.getenv("GH_WRITE_TOKEN") | ||
apply plugin: "org.shipkit.shipkit-auto-version" | ||
apply plugin: "org.shipkit.shipkit-changelog" | ||
apply plugin: "org.shipkit.shipkit-gh-release" | ||
|
||
tasks.named("generateChangelog") { | ||
previousRevision = "v" + project.ext.'shipkit-auto-version.previous-version' | ||
readOnlyToken = "a0a4c0f41c200f7c653323014d6a72a127764e17" | ||
repository = "mockito/mockito-scala" | ||
} | ||
|
||
tasks.named("githubRelease") { | ||
def genTask = tasks.named("generateChangelog").get() | ||
dependsOn genTask | ||
repository = genTask.repository | ||
changelog = genTask.outputFile | ||
writeToken = System.getenv("GH_WRITE_TOKEN") | ||
} | ||
|
||
//all contents of this directory will be uploaded to Bintray | ||
ext.releaseSpec = fileTree("target/dist") | ||
|
||
allprojects { | ||
plugins.withId("org.shipkit.bintray") { | ||
|
||
//Bintray configuration is handled by JFrog Bintray Gradle Plugin | ||
//For reference see the official documentation: https://github.com/bintray/gradle-bintray-plugin | ||
bintray { | ||
|
||
key = System.getenv("BINTRAY_API_KEY") | ||
|
||
pkg { | ||
repo = 'maven' | ||
user = 'szczepiq' | ||
name = 'mockito-scala' | ||
userOrg = 'mockito' | ||
licenses = ['MIT'] | ||
labels = ['mocks', 'tdd', 'unit tests'] | ||
publish = true //can be changed to 'false' for testing | ||
|
||
filesSpec { | ||
from releaseSpec | ||
into '.' | ||
} | ||
|
||
version { | ||
mavenCentralSync { | ||
sync = true | ||
user = System.env.NEXUS_TOKEN_USER | ||
password = System.env.NEXUS_TOKEN_PWD | ||
} | ||
} | ||
apply plugin: 'com.jfrog.bintray' | ||
|
||
//Bintray configuration is handled by JFrog Bintray Gradle Plugin | ||
//For reference see the official documentation: https://github.com/bintray/gradle-bintray-plugin | ||
bintray { | ||
|
||
key = System.getenv("BINTRAY_API_KEY") | ||
|
||
pkg { | ||
repo = 'maven' | ||
user = 'szczepiq' | ||
name = 'mockito-scala' | ||
userOrg = 'mockito' | ||
licenses = ['MIT'] | ||
labels = ['mocks', 'tdd', 'unit tests'] | ||
publish = true // can be changed to 'false' for testing | ||
dryRun = project.hasProperty("bintrayDryRun") | ||
|
||
filesSpec { | ||
// all contents of this directory will be uploaded to Bintray | ||
from fileTree("target/dist") | ||
into '.' | ||
} | ||
|
||
version { | ||
mavenCentralSync { | ||
sync = false // TODO: true | ||
user = System.env.NEXUS_TOKEN_USER | ||
password = System.env.NEXUS_TOKEN_PWD | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#Version of the produced binaries. This file is intended to be checked-in. | ||
#It will be automatically bumped by release automation. | ||
version=1.16.4 | ||
previousVersion=1.16.3 | ||
# The version is inferred by shipkit-auto-version Gradle plugin | ||
# More: https://github.com/shipkit/shipkit-auto-version | ||
version=1.16.* |