Skip to content

Commit af99ce3

Browse files
committed
patch: Disable fetching tags
This is unnecessary for this plugin behavior.
1 parent f6c6235 commit af99ce3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/ajoberstar/gradle/git/publish/tasks/GitPublishReset.java

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public void reset() throws IOException {
136136
if (getFetchDepth().isPresent()) {
137137
spec.args("--depth", getFetchDepth().get());
138138
}
139+
spec.args("--no-tags");
139140
spec.args("origin", refSpec);
140141

141142
spec.workingDir(repoDir);

0 commit comments

Comments
 (0)