Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
FIX SSL/TLS Error on query Github latest release
Browse files Browse the repository at this point in the history
FIX Rearrange Solution Folder
  • Loading branch information
digitalsigi committed Apr 12, 2018
1 parent 85432ff commit c983903
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 26 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,15 @@ Format-Xml -InputObject $xmlVersion
#popd
#write-host "`nVisual Studio 2015 Command Prompt variables set." -ForegroundColor Yellow

[string]$SolutionDir = "C:\GitHub\ebinterface-word-plugin\eRechnungWordPlugIn\"
[string]$SolutionDir = "C:\GitHub\ebinterface-word-plugin\"
[string]$updVers = $UpdateVersionNumber.ToLower();
if("y","n","yes","no" -notcontains $updVers)
{
Throw "$($UpdateVersion) is not y or n"
}
[string]$BuildLogDir = $SolutionDir+"Buildlog\";
[string]$eRechnung = "eRechnung"
[string]$eRechnungProject = "eRechnung\eRechnung.csproj"
[string]$eRechnungProject = "eRechnungWordPlugIn\eRechnung\eRechnung.csproj"
[string]$fnVersion = $SolutionDir +"Scripts\Version.xml"

if(!(Test-Path -Path $BuildLogDir)){
Expand Down Expand Up @@ -204,8 +204,8 @@ if(Test-Path $publishUrl) {
} else {
md $publishUrl
}
[string]$buildDir = $SolutionDir+$eRechnung+"\bin\"+$Configuration+"\app.publish\*"
[string]$manual = $SolutionDir+"Handbuch\Anleitung.pdf"
[string]$buildDir = $SolutionDir+"\eRechnungWordPlugIn\"+$eRechnung+"\bin\"+$Configuration+"\app.publish\*"
[string]$manual = $SolutionDir+"eRechnungWordPlugin\Handbuch\Anleitung.pdf"
[string]$jbArchive =$publishUrl+"jbarchive.7z"
[string]$7zip = '"C:\Program Files\7-Zip\7z.exe"'
[string]$arch1cmdParm= $7zip+ " a "+$jbArchive+" "+$buildDir+" "+$manual+ " -m0=BCJ2 -m1=LZMA:d25:fb255 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 -mx"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<Release>4</Release>
<Major>3</Major>
<Minor>0</Minor>
<Update>5</Update>
<Update>6</Update>
</Actual>
</Version>
File renamed without changes.
10 changes: 5 additions & 5 deletions eRechnungWordPlugIn.sln
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ebIModelsTests", "eRechnung
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{D602502B-6A6C-4823-A399-E82411132766}"
ProjectSection(SolutionItems) = preProject
eRechnungWordPlugIn\Scripts\PlugInCfg.txt = eRechnungWordPlugIn\Scripts\PlugInCfg.txt
eRechnungWordPlugIn\Scripts\ReleaseBuild.ps1 = eRechnungWordPlugIn\Scripts\ReleaseBuild.ps1
eRechnungWordPlugIn\Scripts\setVersion.ps1 = eRechnungWordPlugIn\Scripts\setVersion.ps1
eRechnungWordPlugIn\Scripts\Version.xml = eRechnungWordPlugIn\Scripts\Version.xml
Scripts\PlugInCfg.txt = Scripts\PlugInCfg.txt
Scripts\ReleaseBuild.ps1 = Scripts\ReleaseBuild.ps1
Scripts\setVersion.ps1 = Scripts\setVersion.ps1
Scripts\Version.xml = Scripts\Version.xml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Handbuch", "Handbuch", "{29392638-F0FE-42D6-BB91-ABEB04CC8E70}"
Expand Down Expand Up @@ -288,7 +288,7 @@ Global
{CA9BF7EF-850F-467B-96E6-02254BA24F60} = {B22F178E-9B52-45F8-A41E-A3D95A9005F9}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EnterpriseLibraryConfigurationToolBinariesPathV6 = packages\EnterpriseLibrary.Common.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Logging.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Validation.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Validation.Integration.WinForms.6.0.1304.0\lib\NET45
SolutionGuid = {9C14C1FE-C995-4B16-B801-17627B2C35EA}
EnterpriseLibraryConfigurationToolBinariesPathV6 = packages\EnterpriseLibrary.Common.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Logging.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Validation.6.0.1304.0\lib\NET45;packages\EnterpriseLibrary.Validation.Integration.WinForms.6.0.1304.0\lib\NET45
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion eRechnungWordPlugIn/Logging/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
[assembly: AssemblyVersion("4.3.0.5")]
[assembly: AssemblyVersion("4.3.0.6")]
[assembly: AssemblyFileVersion("1.0.0.0")]
2 changes: 1 addition & 1 deletion eRechnungWordPlugIn/eRechnung/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
[assembly: AssemblyVersion("4.3.0.5")]
[assembly: AssemblyVersion("4.3.0.6")]
[assembly: AssemblyFileVersion("1.0.0.0")]
6 changes: 3 additions & 3 deletions eRechnungWordPlugIn/eRechnung/eRechnung.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<SolutionID>11fadaeb-6e23-40e8-bb45-a202930c10c1</SolutionID>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<AssemblyVersion>4.3.0.5</AssemblyVersion>
<AssemblyVersion>4.3.0.6</AssemblyVersion>
<BootstrapperEnabled>true</BootstrapperEnabled>
<PublishUrl>C:\trash\publish\Codeplex\4p3p0p5\</PublishUrl>
<PublishUrl>C:\trash\publish\Codeplex\4p3p0p6\</PublishUrl>
<InstallUrl />
<TargetCulture>de</TargetCulture>
<ApplicationVersion>4.3.0.5</ApplicationVersion>
<ApplicationVersion>4.3.0.6</ApplicationVersion>
<AutoIncrementApplicationRevision>false</AutoIncrementApplicationRevision>
<UpdateEnabled>true</UpdateEnabled>
<UpdateInterval>7</UpdateInterval>
Expand Down
3 changes: 2 additions & 1 deletion eRechnungWordPlugIn/ebIModels/Services/ProductInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ private void GetLatestReleaseFromGitHub()
DateTime restDateTime = DateTime.Now;

Log.LogWrite(CallerInfo.Create(), Log.LogPriority.High, $"Abfrage für neue Release fehlgeschlagen: {releases.Exception.InnerException.Message}");

Log.LogWrite(CallerInfo.Create(), Log.LogPriority.High, $"Github Reset: {restDateTime:G} ");
_isNewReleaseAvailable = false;
return;
Expand All @@ -63,7 +64,7 @@ private void GetLatestReleaseFromGitHub()
if (releaseItems.Any())
{
latestRelease = releaseItems.OrderByDescending(p => p.CreatedAt).First();

Log.LogWrite(CallerInfo.Create(), Log.LogPriority.High, $"Release at GitHub: {latestRelease.TagName}");
// Release Tag auf github muss die Syntax Vn.n.n+n haben sonst geht das hier schief
var latestVersion = SemanticVersion.Parse(latestRelease.TagName, ParseMode.AllowPrefix);
_isNewReleaseAvailable = false;
Expand Down
10 changes: 5 additions & 5 deletions eRechnungWordPlugIn/ebIModels/XmlData/ProductInfo.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ProductInfo>
<Title>ebInterface 4.3 Word PlugIn</Title>
<Version>4.3.0+5</Version>
<CompileInfo>Debug</CompileInfo>
<CompileTime>2018-04-11 18:03:04</CompileTime>
<Version>4.3.0+6</Version>
<CompileInfo>Release</CompileInfo>
<CompileTime>2018-04-12 12:18:24</CompileTime>
<Branch>Bugfix</Branch>
<LastCommit>2018-04-11 18:03:03</LastCommit>
<ChangeSetId>c64c8e9</ChangeSetId>
<LastCommit>2018-04-12 12:18:24</LastCommit>
<ChangeSetId>85432ff</ChangeSetId>
</ProductInfo>
7 changes: 3 additions & 4 deletions eRechnungWordPlugIn/ebIModels/ebIModels.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@
<Reference Include="Microsoft.Practices.Unity.RegistrationByConvention">
<HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.RegistrationByConvention.dll</HintPath>
</Reference>
<Reference Include="Octokit, Version=0.24.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Octokit.0.24.0\lib\net45\Octokit.dll</HintPath>
<Private>True</Private>
<Reference Include="Octokit, Version=0.29.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Octokit.0.29.0\lib\net45\Octokit.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
Expand Down Expand Up @@ -304,7 +303,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>Powershell "$(SolutionDir)\eRechnungWordPlugIn\Scripts\setVersion.ps1" -cfgName $(ConfigurationName) -ProductFile "$(ProjectDir)XmlData\ProductInfo.xml" -VersionFile "$(SolutionDir)\eRechnungWordPlugIn\Scripts\Version.xml"</PreBuildEvent>
<PreBuildEvent>Powershell "$(SolutionDir)Scripts\setVersion.ps1" -cfgName $(ConfigurationName) -ProductFile "$(ProjectDir)XmlData\ProductInfo.xml" -VersionFile "$(SolutionDir)Scripts\Version.xml"</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion eRechnungWordPlugIn/ebIModels/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<package id="EnterpriseLibrary.Validation" version="6.0.1304.0" targetFramework="net45" />
<package id="EnterpriseLibrary.Validation.Integration.WinForms" version="6.0.1304.0" targetFramework="net45" />
<package id="McSherry.SemanticVersioning" version="1.2.1" targetFramework="net45" />
<package id="Octokit" version="0.24.0" targetFramework="net45" />
<package id="Octokit" version="0.29.0" targetFramework="net45" />
<package id="Unity" version="3.5.1404.0" targetFramework="net45" />
<package id="Unity.Interception" version="3.5.1404.0" targetFramework="net45" />
</packages>

0 comments on commit c983903

Please sign in to comment.