Skip to content

Commit

Permalink
fix: updating to beta release always downloaded the latest (non-beta)…
Browse files Browse the repository at this point in the history
… release and the changelog always was the changelog in the main branch and not dynamic
  • Loading branch information
PocketMiner82 committed Apr 11, 2024
1 parent 4778d65 commit fe05fb6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
16 changes: 12 additions & 4 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,20 @@
{
"files": [
"AutoUpdater.xml",
"pseudocodeIdeUpdater/pseudocodeIdeUpdater.csproj",
"pseudocodeIde/pseudocodeIde.csproj"
"pseudocodeIdeUpdater/pseudocodeIdeUpdater.csproj",
"pseudocodeIde/pseudocodeIde.csproj"
],
"from": "<version>.*</version>",
"to": "<version>${nextRelease.version.replace('-dev', '')}</version>",
"countMatches": true
},
{
"files": [
"AutoUpdater.xml"
],
"from": "https://github\\.com/PocketMiner82/pseudocode-ide/(.*)/.*/(.*)/",
"to": "https://github.com/PocketMiner82/pseudocode-ide/$1/${nextRelease.version}/$2/",
"countMatches": true
}
]
}
Expand All @@ -71,8 +79,8 @@
"README.md",
"CHANGELOG.md",
"AutoUpdater.xml",
"pseudocodeIdeUpdater/pseudocodeIdeUpdater.csproj",
"pseudocodeIde/pseudocodeIde.csproj"
"pseudocodeIdeUpdater/pseudocodeIdeUpdater.csproj",
"pseudocodeIde/pseudocodeIde.csproj"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions AutoUpdater.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>1.3.1.1</version>
<url>https://github.com/PocketMiner82/pseudocode-ide/releases/latest/download/pseudocode-ide.zip</url>
<changelog>https://github.com/PocketMiner82/pseudocode-ide/blob/main/CHANGELOG.md</changelog>
<url>https://github.com/PocketMiner82/pseudocode-ide/releases/download/1.3.1-dev.1/pseudocode-ide.zip</url>
<changelog>https://github.com/PocketMiner82/pseudocode-ide/blob/1.3.1-dev.1/CHANGELOG.md</changelog>
<mandatory>false</mandatory>
</item>
6 changes: 3 additions & 3 deletions pseudocodeIde/pseudocodeIde.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<AssemblyTitle>pseudocode-ide</AssemblyTitle>
<Company>PocketMiner82</Company>
<Product>pseudocode-ide</Product>
<version>1.3.1.1</version>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<version>1.3.1.1</version>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>full</DebugType>
Expand Down
10 changes: 5 additions & 5 deletions pseudocodeIdeUpdater/pseudocodeIdeUpdater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<Product>pseudocodeIdeUpdater</Product>
<Copyright>Copyright © 2023</Copyright>
<OutputPath>..\bin\$(Configuration)\updater\</OutputPath>
<version>1.3.1.1</version>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<version>1.3.1.1</version>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>full</DebugType>
Expand Down

0 comments on commit fe05fb6

Please sign in to comment.