Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61f3a32

Browse filesBrowse files
committed
Fix tt incompatible tags
1 parent 4dcf5db commit 61f3a32
Copy full SHA for 61f3a32

File tree

Expand file treeCollapse file tree

4 files changed

+33
-28
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+33
-28
lines changed

‎pom.xml

Copy file name to clipboardExpand all lines: pom.xml
+27-22Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,6 @@
8080
</plugins>
8181
</pluginManagement>
8282
<plugins>
83-
84-
<plugin>
85-
<groupId>org.apache.maven.plugins</groupId>
86-
<artifactId>maven-gpg-plugin</artifactId>
87-
<version>1.6</version>
88-
<executions>
89-
<execution>
90-
<id>sign-artifacts</id>
91-
<phase>verify</phase>
92-
<goals>
93-
<goal>sign</goal>
94-
</goals>
95-
</execution>
96-
</executions>
97-
</plugin>
9883
<plugin>
9984
<groupId>org.apache.maven.plugins</groupId>
10085
<artifactId>maven-site-plugin</artifactId>
@@ -123,12 +108,6 @@
123108
</dependency>
124109
</dependencies>
125110
</plugin>
126-
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128-
<artifactId>maven-source-plugin</artifactId>
129-
<version>3.1.0</version>
130-
</plugin>
131-
132111
<plugin>
133112
<artifactId>maven-compiler-plugin</artifactId>
134113
<version>3.8.1</version>
@@ -283,7 +262,7 @@
283262
<dependency>
284263
<groupId>org.eclipse.jgit</groupId>
285264
<artifactId>org.eclipse.jgit</artifactId>
286-
<version>5.4.3.201909031940-r</version>
265+
<version>5.5.1.201910021850-r</version>
287266
<scope>test</scope>
288267
</dependency>
289268
<dependency>
@@ -451,6 +430,32 @@
451430
</plugins>
452431
</build>
453432
</profile>
433+
<profile>
434+
<id>release</id>
435+
<build>
436+
<plugins>
437+
<plugin>
438+
<groupId>org.apache.maven.plugins</groupId>
439+
<artifactId>maven-gpg-plugin</artifactId>
440+
<version>1.6</version>
441+
<executions>
442+
<execution>
443+
<id>sign-artifacts</id>
444+
<phase>verify</phase>
445+
<goals>
446+
<goal>sign</goal>
447+
</goals>
448+
</execution>
449+
</executions>
450+
</plugin>
451+
<plugin>
452+
<groupId>org.apache.maven.plugins</groupId>
453+
<artifactId>maven-source-plugin</artifactId>
454+
<version>3.1.0</version>
455+
</plugin>
456+
</plugins>
457+
</build>
458+
</profile>
454459
</profiles>
455460
<reporting>
456461
<plugins>

‎src/main/java/org/kohsuke/github/GHRepository.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepository.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ public GHHook getHook(int id) throws IOException {
866866

867867
/**
868868
* Gets a comparison between 2 points in the repository. This would be similar
869-
* to calling <tt>git log id1...id2</tt> against a local repository.
869+
* to calling <code>git log id1...id2</code> against a local repository.
870870
* @param id1 an identifier for the first point to compare from, this can be a sha1 ID (for a commit, tag etc) or a direct tag name
871871
* @param id2 an identifier for the second point to compare to. Can be the same as the first point.
872872
* @return the comparison output
@@ -928,7 +928,7 @@ public PagedIterable<GHRef> listRefs() throws IOException {
928928

929929
/**
930930
* Retrieves all refs of the given type for the current GitHub repository.
931-
* @param refType the type of reg to search for e.g. <tt>tags</tt> or <tt>commits</tt>
931+
* @param refType the type of reg to search for e.g. <code>tags</code> or <code>commits</code>
932932
* @return an array of all refs matching the request type
933933
* @throws IOException on failure communicating with GitHub, potentially due to an invalid ref type being requested
934934
*/
@@ -939,7 +939,7 @@ public GHRef[] getRefs(String refType) throws IOException {
939939
/**
940940
* Retrieves all refs of the given type for the current GitHub repository.
941941
*
942-
* @param refType the type of reg to search for e.g. <tt>tags</tt> or <tt>commits</tt>
942+
* @param refType the type of reg to search for e.g. <code>tags</code> or <code>commits</code>
943943
* @return paged iterable of all refs of the specified type
944944
* @throws IOException on failure communicating with GitHub, potentially due to an invalid ref type being requested
945945
*/

‎src/main/java/org/kohsuke/github/GitHub.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GitHub.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public class GitHub {
115115
*
116116
* @param apiUrl
117117
* The URL of GitHub (or GitHub enterprise) API endpoint, such as "https://api.github.com" or
118-
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <tt>/api/v3</tt> in the URL.
118+
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code>/api/v3</code> in the URL.
119119
* For historical reasons, this parameter still accepts the bare domain name, but that's considered deprecated.
120120
* Password is also considered deprecated as it is no longer required for api usage.
121121
* @param login
@@ -180,7 +180,7 @@ public static GitHub connectToEnterprise(String apiUrl, String oauthAccessToken)
180180
*
181181
* @param apiUrl
182182
* The URL of GitHub (or GitHub Enterprise) API endpoint, such as "https://api.github.com" or
183-
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <tt>/api/v3</tt> in the URL.
183+
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code>/api/v3</code> in the URL.
184184
* For historical reasons, this parameter still accepts the bare domain name, but that's considered deprecated.
185185
*/
186186
public static GitHub connectToEnterpriseWithOAuth(String apiUrl, String login, String oauthAccessToken) throws IOException {

‎src/main/java/org/kohsuke/github/GitHubBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GitHubBuilder.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public static GitHubBuilder fromProperties(Properties props) {
160160
/**
161161
* @param endpoint
162162
* The URL of GitHub (or GitHub enterprise) API endpoint, such as "https://api.github.com" or
163-
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <tt>/api/v3</tt> in the URL.
163+
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code>/api/v3</code> in the URL.
164164
* For historical reasons, this parameter still accepts the bare domain name, but that's considered deprecated.
165165
*/
166166
public GitHubBuilder withEndpoint(String endpoint) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.