Upload new LibZNI
This commit is contained in:
parent
3ab400b0d0
commit
c5aac5438b
2 changed files with 23 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
using System;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace LibZNI
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Assembly)]
|
||||
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple =false, Inherited =true)]
|
||||
public class AutoUpdater : Attribute
|
||||
{
|
||||
public string AutoUpdaterProjectPath;
|
||||
|
@ -16,5 +17,10 @@ namespace LibZNI
|
|||
AutoUpdateEnabled = true;
|
||||
AutoUpdateArtifact = artifact;
|
||||
}
|
||||
|
||||
public string AsFinalURL(string CIServer)
|
||||
{
|
||||
return CIServer + AutoUpdaterProjectPath + "/lastSuccessfulBuild/artifact/" + AutoUpdateArtifact.Replace("!os!", Tools.GetOSShortID());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue