feat(dedup): remove preleaseses
This commit is contained in:
@@ -33,7 +33,7 @@ list_versions() {
|
|||||||
if [ "${INPUT_TAG:-false}" = "true" ]; then
|
if [ "${INPUT_TAG:-false}" = "true" ]; then
|
||||||
git ls-remote -q --tags "https://github.com/${REPO}.git" | awk '{ print $2 }'
|
git ls-remote -q --tags "https://github.com/${REPO}.git" | awk '{ print $2 }'
|
||||||
else
|
else
|
||||||
list_releases | jq -r '.[] | .tag_name'
|
list_releases | jq -r '.[] | select(.prerelease|not) | .tag_name'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user