apiaryio / drafter

API Blueprint Parser (C++)
https://apiblueprint.org/
MIT License
302 stars 54 forks source link

Release 5.0.0-rc.1 #776

Closed kylef closed 4 years ago

kylef commented 4 years ago

This PR creates a 5.0.0-rc.1 release, I think for final 5.0.0 release we need to do the following:

Drafter hard-coded the pre-release identifer as pre, I'd like to give better semantics for the release and use the recommended identifiers (alpha, beta, release candidates etc) and therefore I've updated the handling in the code base so that DRAFTER_PRE_RELEASE_VERSION takes the full pre-release identifier:

To aid review, here's how the Version.h is generated:

#define DRAFTER_MAJOR_VERSION 5
#define DRAFTER_MINOR_VERSION 0
#define DRAFTER_PATCH_VERSION 0

#define DRAFTER_VERSION_IS_RELEASE 0
#define DRAFTER_PRE_RELEASE_VERSION "beta.1"

#if DRAFTER_VERSION_IS_RELEASE
#define DRAFTER_VERSION_STRING "v5.0.0"
#else
#define DRAFTER_VERSION_STRING "v5.0.0-beta.1"
#endif

Changelog

Breaking

Enhancements

kylef commented 4 years ago

Ive' updated to 5.0.0-rc.1 as the version is correct.