LiveRamp / reslang

A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Apache License 2.0
23 stars 7 forks source link

feat: supports “prerelease” versions #271

Closed xufulin1994 closed 7 months ago

xufulin1994 commented 8 months ago

Context: The VMA app uses the python semver package that supports “prerelease” versions, as well as the usual Major.Minor.Patch. The semver format goes something like Major.Minor.Patch[-prerelease_id.#] where prerelease_id is a text string - for us it’s “dev” for all of the intermediate versions we build and deploy to our DEV environment and “hotfix” for any intermediate versions that we might need to create in our PROD environment because our DEV environment has diverged too far from PROD.

ops-github-DU4JOAWE commented 8 months ago

This change is Reviewable

yanan-xu commented 7 months ago

And please take a test on the api-specs to see if the config/*.json are working well with this format of version definition.

yanan-xu commented 7 months ago
  1. upgrade the Reslang version itself
  2. add some documentation for it if necessary