Skip to content

Commit

Permalink
or ""
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Tyler <phil.tyler@pantheon.io>
  • Loading branch information
jazzsequence and pwtyler authored Sep 18, 2023
1 parent ca2313e commit 8f1a28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/dependency-check-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ get_latest_tag() {
local LATEST_TAG

# We're defaulting to GitHub, but we want to check against releases AND tags.
if [[ "${source}" == "github" || "${source}" == "null" ]]; then
if [[ "${source}" == "github" || "${source}" == "null" || "${source}" == "" ]]; then
LATEST_TAG=$(gh release view -R "${REPO}" --json tagName -q .tagName 2>/dev/null)
# Check for a release first, then fall back to tags
if [[ -z "${LATEST_TAG}" ]]; then
Expand Down

0 comments on commit 8f1a28e

Please sign in to comment.