meraki / dashboard-api-go

Dashboard API for Golang
MIT License
19 stars 7 forks source link

Fix: Adjust version comparison logic to handle "v" prefix #7

Closed iamdexterpark closed 1 year ago

iamdexterpark commented 1 year ago

This commit modifies the version comparison logic in the GitHub Actions workflow to correctly handle cases where version numbers include or exclude the "v" prefix. The updated code ensures that when comparing versions like "v1.31.0" and "1.33.0", the check correctly detects version changes and triggers the generation of a new client.

This adjustment improves the reliability of the workflow and ensures consistency in version comparison.