The X.Y.Z version portion was unreliable, as it pulled from the latest tag regardless of platform. Set version to 0.0.0 and retrieve only the hash, which allows us to drop the node/npm dependency.
10 lines
157 B
C++
10 lines
157 B
C++
#include <mbgl/util/version.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace version {
|
|
|
|
const char* revision = MBGL_VERSION_REV;
|
|
|
|
} // namespace version
|
|
} // namespace mbgl
|