[
https://issues.apache.org/jira/browse/SCM-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962761#comment-17962761
]
ASF GitHub Bot commented on SCM-729:
------------------------------------
jira-importer commented on issue #936:
URL: https://github.com/apache/maven-scm/issues/936#issuecomment-2964634176
**[Toby
Jee](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tmjee)**
commented
This happens for git as well.
when running
```
mvn release:perform -DconnectionUrl=.... -Dgoals=deploy
```
The git clone command generated is
```
[INFO] Executing: /bin/sh -c cd /.../target && git clone --branch
http://.... .git /.../target/checkout
```
which is not correct it misses the tag.
If only a say -Dtag parameter is allowed that'd fix this issue
> Ability to specify tag for release:perform
> ------------------------------------------
>
> Key: SCM-729
> URL: https://issues.apache.org/jira/browse/SCM-729
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: maven-scm-provider-mercurial (hg)
> Affects Versions: 1.8.1
> Reporter: Gili
> Priority: Major
>
> We need a way to specify a tag either to release:perform or the HG scm
> provider.
> http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html
> indicates that we should be able to release:perform from a tag without the
> use of release.properties but there is no way to specify a tag for the HG scm
> provider.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)