Since switching to the GNOME release schedule, we need to do unstable releases off of mainline, which means we need to update the version number (and drop the "-dev" suffix) so tarballs etc get the right version. Instead of looking for the -dev suffix, parse the version number to determine if we should display the revision in About.
18 lines
546 B
Vala
18 lines
546 B
Vala
/*
|
|
* Copyright 2016 Software Freedom Conservancy Inc.
|
|
* Copyright 2019 Michael Gratton <mike@vee.net>
|
|
*
|
|
* This software is licensed under the GNU Lesser General Public License
|
|
* (version 2.1 or later). See the COPYING file in this distribution.
|
|
*/
|
|
|
|
/** Provides access to Engine version and revision numbers. */
|
|
namespace Geary.Version {
|
|
|
|
/** The current version number for this build. */
|
|
public const string NUMBER = "@VERSION@";
|
|
|
|
/** The source code identifier for this build. */
|
|
public const string ID = "@REVISION@";
|
|
|
|
}
|