微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

让 jgitver 使用标签

如何解决让 jgitver 使用标签

在以下场景中,我希望 jgitver 使用版本 4.2.4-rc3-SNAPSHOT(最后一个轻量级标签 + SNAPSHOT)。然而,这不会发生。

[DEBUG] jgitver calculated version number: 4.2.4-SNAPSHOT
[DEBUG] setting property jgitver.calculated_version with "4.2.4-SNAPSHOT"
[DEBUG] setting property jgitver.dirty with "true"
[DEBUG] setting property jgitver.head_committer_name with "Roberto Morávia"
[DEBUG] setting property jgitver.head_commiter_email with "roberto.moravia@agency"
[DEBUG] setting property jgitver.head_commit_datetime with "Fri Apr 9 15:46:54 2021 +0100"
[DEBUG] setting property jgitver.git_sha1_full with "e4c8f3459a633ba607b0a8bc76eee37323aa2"
[DEBUG] setting property jgitver.git_sha1_8 with "e4c8f345"
[DEBUG] setting property jgitver.branch_name with ""
[DEBUG] setting property jgitver.head_tags with ""
[DEBUG] setting property jgitver.head_annotated_tags with ""
[DEBUG] setting property jgitver.head_lightweight_tags with ""
[DEBUG] setting property jgitver.head_version_tags with ""
[DEBUG] setting property jgitver.head_version_annotated_tags with ""
[DEBUG] setting property jgitver.head_version_lightweight_tags with ""
[DEBUG] setting property jgitver.base_tag with "4.2.4-rc3"
[DEBUG] setting property jgitver.base_tag_type with "LIGHTWEIGHT"
[DEBUG] setting property jgitver.all_tags with "4.2.4-rc3,4.2.4-rc2,4.2.3-RC1,4.2.3,4.2.2,4.2.1,4.2.0,4.1.2,4.1.1,4.1.0,4.0.1,4.0.0"
[DEBUG] setting property jgitver.all_annotated_tags with "4.2.3-RC1,4.0.0"
[DEBUG] setting property jgitver.all_lightweight_tags with "4.2.4-rc3,4.2.4-rc2"
[DEBUG] setting property jgitver.all_version_tags with "4.2.4-rc3,4.0.0"
[DEBUG] setting property jgitver.all_version_annotated_tags with "4.2.3,4.0.0"
[DEBUG] setting property jgitver.all_version_lightweight_tags with "4.2.4-rc3,4.2.4-rc2"
[DEBUG] setting property jgitver.next_major_version with "5.0.0"
[DEBUG] setting property jgitver.next_minor_version with "4.3.0"
[DEBUG] setting property jgitver.next_patch_version with "4.2.4"
[DEBUG] setting property jgitver.base_version with "4.2.4-rc3"
[DEBUG] setting property jgitver.commit_distance with ""

为什么它不使用标签,我怎样才能让它使用它? 这里的目标是在标记分支后,来自该分支的任何提交都使用该标记,即使签出作为提交哈希也是如此。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?