Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #156 from apiaryio/pksunkara/prerelease
Browse files Browse the repository at this point in the history
Make a prerelease
  • Loading branch information
kylef committed Oct 29, 2015
2 parents 8c99190 + 63f66bc commit 1f0c84d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
#ifndef DRAFTER_VERSION_H
#define DRAFTER_VERSION_H

#define DRAFTER_MAJOR_VERSION 1
#define DRAFTER_MAJOR_VERSION 2
#define DRAFTER_MINOR_VERSION 0
#define DRAFTER_PATCH_VERSION 0

#define DRAFTER_VERSION_IS_RELEASE 1
#define DRAFTER_VERSION_IS_RELEASE 0
#define DRAFTER_PRE_RELEASE_VERSION 0

#ifndef DRAFTER_STRINGIFY
# define DRAFTER_STRINGIFY(n) DRAFTER_STRINGIFY_HELPER(n)
Expand All @@ -32,7 +33,8 @@
#if DRAFTER_VERSION_IS_RELEASE
# define DRAFTER_VERSION_STRING DRAFTER_VERSION_STRING_HELPER
#else
# define DRAFTER_VERSION_STRING DRAFTER_VERSION_STRING_HELPER "-pre"
# define DRAFTER_VERSION_STRING DRAFTER_VERSION_STRING_HELPER "-pre." \
DRAFTER_STRINGIFY(DRAFTER_PRE_RELEASE_VERSION)
#endif

#endif

0 comments on commit 1f0c84d

Please sign in to comment.