We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81fd400 + 891a262 commit 60eb92aCopy full SHA for 60eb92a
1 file changed
.github/workflows/publish.yml
@@ -71,8 +71,14 @@ jobs:
71
PACKAGE_VERSION=$(hatch version)
72
echo "Tag version: $TAG_VERSION"
73
echo "Package version: $PACKAGE_VERSION"
74
+ echo "Git describe: $(git describe --tags --long)"
75
+ echo "Git status: $(git status --porcelain)"
76
if [ "$TAG_VERSION" != "$PACKAGE_VERSION" ]; then
77
echo "Version mismatch! Tag: $TAG_VERSION, Package: $PACKAGE_VERSION"
78
+ echo "This usually means:"
79
+ echo "1. The tag points to the wrong commit"
80
+ echo "2. There are commits after the tagged commit"
81
+ echo "3. Multiple tags point to the same commit"
82
exit 1
83
fi
84
0 commit comments