+ git config --global --add safe.directory /__w/linuxcnc/linuxcnc
+ debian/configure
+ debian/update-dch-from-git
successfully configured for 'uspace-Debian-unstable'..
egrep: warning: egrep is obsolescent; using grep -E
no annotated tags found, not even unsigned
no annotated tags found, not even unsigned
fatal: ..: '..' is outside repository at '/__w/linuxcnc/linuxcnc'
我在叉子上遇到了令人惊讶的操作失败。这是在为#1953构建分支时,但可能普遍适用。
失败是:
完整日志位于https://github.com/jepler/linuxcnc/actions/runs/3070102780/jobs/4959488545,但这些 URL 不是长期持久的。
我不太明白发生了什么,只是事情开始出错,因为我的叉子里面没有标签。
在 CircuitPython 中,我们通过在 CI 期间从规范回购中明确获取标签来解决 github 的这个怪癖(即叉子没有可靠的标签),这就像
git fetch --tags https://github.com/linuxcnc/linuxcnc