opticdev / optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
https://useoptic.com
MIT License
1.35k stars 79 forks source link

feat(container image): tag with minor version, `v0.x` #2806

Closed notnmeyer closed 5 months ago

notnmeyer commented 5 months ago

🍗 Description

What does this PR do? Anything folks should know?

adds a floating minor version tag. for example, the latest v0.54.x release will be tagged with v0.54.

bash magic to the rescue,

bash-5.2$ export version=v1.2.3
bash-5.2$ echo "${version%.*}"
v1.2

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable.

👹 QA

How can other humans verify that this PR is correct?