supabase / dbdev

Database Package Registry for Postgres
https://database.dev/
Apache License 2.0
370 stars 19 forks source link

check cli version before release #112

Closed imor closed 1 year ago

imor commented 1 year ago

What kind of change does this PR introduce?

Fix

What is the current behavior?

It was possible to release a CLI with version different than the tag which created the release. E.g. recently a tag v0.1.1 released a CLI with version 0.1.0.

What is the new behavior?

The release action will now check whether the version in the tag and the Cargo.toml file match or not. If they don't match, the release action fails.

Additional context

N/A

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dbdev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2023 9:33am