Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Mar 14, 2023
1 parent 00e6ff8 commit 6bb53bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NEW_TAG=${GITHUB_REF/refs\/tags\//}
MAJOR_VERSION=$(echo "$NEW_TAG" | cut -d. -f1)
RELEASE_ASSETS_DIR=$(mktemp -d)

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

0 comments on commit 6bb53bc

Please sign in to comment.