You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add a step to the release process is very easy. Gradle provides a very nice mechanism for [manipulating existing tasks](http://gradle.org/docs/current/userguide/tutorial_using_tasks.html#N102B2). There are two available hooks provided: `beforeReleaseBuild` which runs before build and `afterReleaseBuild` which runs afterwards.
Copy file name to clipboardexpand all lines: src/main/groovy/net/researchgate/release/GitAdapter.groovy
-16
Original file line number
Diff line number
Diff line change
@@ -35,30 +35,14 @@ class GitAdapter extends BaseScmAdapter {
35
35
def pushOptions = []
36
36
boolean signTag =false
37
37
38
-
/** @deprecated Remove in version 3.0 */
39
-
@Deprecated
40
-
boolean pushToCurrentBranch =false
41
38
String pushToBranchPrefix
42
39
boolean commitVersionFileOnly =false
43
-
44
-
voidsetProperty(Stringname, Objectvalue) {
45
-
if (name =='pushToCurrentBranch') {
46
-
project.logger?.warn("You are setting the deprecated and unused option '${name}'. You can safely remove it. The deprecated option will be removed in 3.0")
0 commit comments