You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 0 not exclusively due to no version bump so check output
103
105
if [ "${STATUS:-0}" -ne 0 ]; then
104
-
if echo "$SEMVER_OUTPUT_RAW" | grep -q "No release published"; then
106
+
echo "in if status 0"
107
+
if echo "$SEMVER_OUTPUT_RAW" | grep -q "There are no relevant changes"; then
108
+
echo "in if no release published"
105
109
# No new version, but we can find the current version
106
110
echo "No new version required getting current version from git tags"
107
111
DEV_SEMVER_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0-version-not-found") # last git tag so if multiple bumps in other branches making package version there will be some discrepancy but the purpose is distinguishing them for dev purposes.
108
112
echo "DEV_SEMVER_VERSION = $DEV_SEMVER_VERSION"
109
113
exit 0 # treat as success code didnt fail there just was no version increment required
0 commit comments