diff --git a/.github/workflows/increment_major.yml b/.github/workflows/increment_major.yml index 4452908e..19bee5f7 100644 --- a/.github/workflows/increment_major.yml +++ b/.github/workflows/increment_major.yml @@ -19,7 +19,7 @@ jobs: if [[ -z "$latest_tag" ]]; then echo "Failed to get the latest tag." - exit 1 + latest_tag="v0.0.0" fi # Extract the major, minor, and patch versions from the tag diff --git a/.github/workflows/increment_minor.yml b/.github/workflows/increment_minor.yml index 3c21fe8d..4d2825ed 100644 --- a/.github/workflows/increment_minor.yml +++ b/.github/workflows/increment_minor.yml @@ -19,7 +19,7 @@ jobs: if [[ -z "$latest_tag" ]]; then echo "Failed to get the latest tag." - exit 1 + latest_tag="v0.0.0" fi # Extract the major, minor, and patch versions from the tag diff --git a/.github/workflows/increment_patch.yml b/.github/workflows/increment_patch.yml index ca563623..5b59b471 100644 --- a/.github/workflows/increment_patch.yml +++ b/.github/workflows/increment_patch.yml @@ -31,7 +31,7 @@ jobs: old_patch_version="${BASH_REMATCH[3]}" else echo "Failed to parse the latest tag version." - exit 1 + latest_tag="v0.0.0" fi # Increment the patch version