2014-10-31 18:17:05 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
2014-04-25 09:49:37 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
2013-08-08 09:22:35 +00:00
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2016-08-05 17:52:56 +00:00
|
|
|
#ifndef ATOM_COMMON_ATOM_VERSION_H_
|
|
|
|
#define ATOM_COMMON_ATOM_VERSION_H_
|
2013-08-08 09:22:35 +00:00
|
|
|
|
2019-01-23 19:49:22 +00:00
|
|
|
#define ATOM_MAJOR_VERSION 6
|
2018-03-05 15:18:00 +00:00
|
|
|
#define ATOM_MINOR_VERSION 0
|
|
|
|
#define ATOM_PATCH_VERSION 0
|
2018-09-28 03:57:04 +00:00
|
|
|
// clang-format off
|
2019-02-11 22:08:24 +00:00
|
|
|
#define ATOM_PRE_RELEASE_VERSION -nightly.20190211
|
2018-09-20 06:55:07 +00:00
|
|
|
// clang-format on
|
2013-08-08 09:22:35 +00:00
|
|
|
|
|
|
|
#ifndef ATOM_STRINGIFY
|
|
|
|
#define ATOM_STRINGIFY(n) ATOM_STRINGIFY_HELPER(n)
|
|
|
|
#define ATOM_STRINGIFY_HELPER(n) #n
|
|
|
|
#endif
|
|
|
|
|
2018-02-06 22:33:51 +00:00
|
|
|
#ifndef ATOM_PRE_RELEASE_VERSION
|
2018-04-18 01:55:30 +00:00
|
|
|
#define ATOM_VERSION_STRING \
|
|
|
|
ATOM_STRINGIFY(ATOM_MAJOR_VERSION) \
|
|
|
|
"." ATOM_STRINGIFY(ATOM_MINOR_VERSION) "." ATOM_STRINGIFY(ATOM_PATCH_VERSION)
|
2018-02-06 22:33:51 +00:00
|
|
|
#else
|
2018-04-18 01:44:10 +00:00
|
|
|
#define ATOM_VERSION_STRING \
|
|
|
|
ATOM_STRINGIFY(ATOM_MAJOR_VERSION) \
|
|
|
|
"." ATOM_STRINGIFY(ATOM_MINOR_VERSION) "." ATOM_STRINGIFY( \
|
|
|
|
ATOM_PATCH_VERSION) ATOM_STRINGIFY(ATOM_PRE_RELEASE_VERSION)
|
2018-02-06 22:33:51 +00:00
|
|
|
#endif
|
|
|
|
|
2013-08-08 09:22:35 +00:00
|
|
|
#define ATOM_VERSION "v" ATOM_VERSION_STRING
|
|
|
|
|
2016-08-05 17:52:56 +00:00
|
|
|
#endif // ATOM_COMMON_ATOM_VERSION_H_
|