Skip to content

Conversation

Thedarkmatter10
Copy link
Contributor

🛠 What this PR fixes

The current on.push.tags pattern in the tagged-release workflow incorrectly matches some invalid tags and misses valid SemVer tags. Specifically:

  • ✅ It matches invalid tags like:

    • v2x3.4 (because . matches any character)
    • v1-2-3 or v1.2x3
    • v10.0.0 is ignored due to [1-9] limitation

    FInd attached SCREENSHOT BELOW

issueSEMVER

  • ❌ It misses valid tags like:
    • v0.1.0
    • v1.24
    • v1.2

✅ Fix

This PR replaces the regex:

from: 'v[1-9].[0-9]+.[0-9]+'
to:   '^v[0-9]+\.[0-9]+(\.[0-9]+)+$' 

FIND ATTACHED FIXED SemVer SCREENSHOT .

semVERfixed

@SSharma-10 SSharma-10 merged commit 9ba8c2c into digitalocean:main Aug 6, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants