Closed mprins closed 2 years ago
Also affects 1.3.0
@mprins @jutzig Getting a similar issue as well
@mprins @jutzig After adding debug calls and calling mvnw de.jutzig:github-release-plugin:release -X
. I realized the issue. The problem is with the regex and the method repositoryId = computeRepositoryId(repositoryId);
. I dont know why the repositoryId is in the following format scm:git:git@github.com:<username>/<repository>.git/<module artificactId>
. My pom contains the following
<scm>
<url>https://github.com/<username>/<repo></url>
<connection>scm:git:git@github.com:<username>/<repo>.git</connection>
<developerConnection>scm:git:git@github.com:<username>/<repo>.git</developerConnection>
<tag>v0.0.1</tag>
</scm>
It worked after I added <repositoryId>${github.username}/${github.repository}</repositoryId>
.
I dont know why the repositoryId is in the following format
scm:git:git@github.com:<username>/<repository>.git/<module artificactId>
.
@atkawa7 You're using the plugin in a child module of a multi-module project. This is not supported yet - the plugin's repository regexp pattern needs to be updated (provided in PR #44).
I have the following config
When trying to upload the release zip (tag created by maven-release-plugin) to a private repo I get the following error