Skip to content

Commit 6bb53bc

Browse files
authored
Update entrypoint.sh
1 parent 00e6ff8 commit 6bb53bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NEW_TAG=${GITHUB_REF/refs\/tags\//}
1818
MAJOR_VERSION=$(echo "$NEW_TAG" | cut -d. -f1)
1919
RELEASE_ASSETS_DIR=$(mktemp -d)
2020

21-
for tag in $(git tag -l --sort=-version:refname "$MAJOR_VERSION.*"); do
21+
for tag in $(git tag -l --sort=-version:refname "$MAJOR_VERSION.*" | grep -E '^v[0-9]+\.[0-9]+(\.[0-9]+)?$'); do
2222
echo "Adding $tag to release notes"
2323
{
2424
echo "# Changes in $tag"

0 commit comments

Comments
 (0)