public void SetSourceTagBuildData(int appId, int stagId, SourceTagAddinInfo[] addins) { BuildService.CheckClient(); SourceTagAddinInfo addin = addins [0]; using (UserModel m = UserModel.GetAdmin(appId)) { SourceTag st = m.GetSourceTag(stagId); st.AddinVersion = addin.AddinVersion; st.AddinId = addin.AddinId; st.TargetAppVersion = addin.AppVersion; st.Platforms = addin.Platforms; // string.Join (" ", addin.Platforms); st.Status = SourceTagStatus.Built; st.BuildDate = DateTime.Now; m.UpdateSourceTag(st); } }
public void SetSourceTagBuildData(int appId, int stagId, SourceTagAddinInfo[] addins) { BuildService.CheckClient (); SourceTagAddinInfo addin = addins [0]; using (UserModel m = UserModel.GetAdmin (appId)) { SourceTag st = m.GetSourceTag (stagId); st.AddinVersion = addin.AddinVersion; st.AddinId = addin.AddinId; st.TargetAppVersion = addin.AppVersion; st.Platforms =addin.Platforms;// string.Join (" ", addin.Platforms); st.Status = SourceTagStatus.Built; st.BuildDate = DateTime.Now; m.UpdateSourceTag (st); } }