Test for automated versioning and bump version

This commit is contained in:
cra0zy 2018-02-26 23:13:16 +01:00
parent 616f16d083
commit 99bcd09f68
No known key found for this signature in database
GPG key ID: 60EDFEA832E9AC7F

View file

@ -6,7 +6,7 @@
// VARS
Settings.Cake = Context;
Settings.Version = "3.22.24.29";
Settings.Version = "3.22.24.30";
Settings.BuildTarget = Argument("BuildTarget", "Default");
Settings.Assembly = Argument("Assembly", "");
@ -18,6 +18,9 @@ var list = new List<GAssembly>();
Task("Init")
.Does(() =>
{
var version = System.Environment.GetEnvironmentVariable("TRAVIS_TAG");
Information("Version detected: " + version);
// Assign some common properties
msbuildsettings = msbuildsettings.WithProperty("Version", Settings.Version);
msbuildsettings = msbuildsettings.WithProperty("Authors", "'GtkSharp Contributors'");