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.
1 parent 92f2a99 commit e18ea2eCopy full SHA for e18ea2e
entrypoint.sh
@@ -12,11 +12,7 @@ fi
12
git fetch origin +refs/tags/*:refs/tags/*
13
14
NEW_TAG=${4:-"${GITHUB_REF/refs\/tags\//}"}
15
-MAJOR_VERSION=$(echo "$NEW_TAG" | cut -d. -f1)
16
-
17
18
-CURRENT_TAG=${3:-$(git tag -l --sort=-version:refname "$MAJOR_VERSION.*" | grep -v "$NEW_TAG" | head -1 || true)}
19
+CURRENT_TAG=${3:-$(git tag -l --sort=-version:refname "*.*" | grep -v "$NEW_TAG" | head -1 || true)}
20
21
if [[ -z $CURRENT_TAG ]]; then
22
echo "::warning::Initial release detected unable to determine any tag diff."
0 commit comments