Test for automated versioning and bump version
This commit is contained in:
parent
616f16d083
commit
99bcd09f68
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
// VARS
|
// VARS
|
||||||
|
|
||||||
Settings.Cake = Context;
|
Settings.Cake = Context;
|
||||||
Settings.Version = "3.22.24.29";
|
Settings.Version = "3.22.24.30";
|
||||||
Settings.BuildTarget = Argument("BuildTarget", "Default");
|
Settings.BuildTarget = Argument("BuildTarget", "Default");
|
||||||
Settings.Assembly = Argument("Assembly", "");
|
Settings.Assembly = Argument("Assembly", "");
|
||||||
|
|
||||||
|
@ -18,6 +18,9 @@ var list = new List<GAssembly>();
|
||||||
Task("Init")
|
Task("Init")
|
||||||
.Does(() =>
|
.Does(() =>
|
||||||
{
|
{
|
||||||
|
var version = System.Environment.GetEnvironmentVariable("TRAVIS_TAG");
|
||||||
|
Information("Version detected: " + version);
|
||||||
|
|
||||||
// Assign some common properties
|
// Assign some common properties
|
||||||
msbuildsettings = msbuildsettings.WithProperty("Version", Settings.Version);
|
msbuildsettings = msbuildsettings.WithProperty("Version", Settings.Version);
|
||||||
msbuildsettings = msbuildsettings.WithProperty("Authors", "'GtkSharp Contributors'");
|
msbuildsettings = msbuildsettings.WithProperty("Authors", "'GtkSharp Contributors'");
|
||||||
|
|
Loading…
Reference in a new issue