Skip to content

Commit 2666163

Browse files
Bump version to 1.11.0 and fix workflows post-version-unification (#340)
PR #315 moved <Version> from App.csproj into src/Directory.Build.props but left four workflows still parsing the old path — every one of them would have silently produced an empty VERSION on the next release: - release.yml: would tag as "v" and break Velopack pack/upload - check-version-bump.yml: empty == empty would block legit bumps - nightly.yml: nightly tag becomes "-nightly.YYYYMMDD" - deploy-web.yml: also tried to write <Version> back into Web csproj, which no longer has one — drop the obsolete sync step entirely (both csprojs now inherit from Directory.Build.props automatically) Version bumps for 1.11.0: - src/Directory.Build.props 1.10.0 -> 1.11.0 - PlanViewer.Ssms/Properties/AssemblyInfo.cs 1.10.0.0 -> 1.11.0.0 - PlanViewer.Ssms/source.extension.vsixmanifest 1.10.0 -> 1.11.0 Also ignore untracked local tools/ helper directory. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 18ea22d commit 2666163

8 files changed

Lines changed: 10 additions & 20 deletions

File tree

.github/workflows/check-version-bump.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: pr
1717
shell: pwsh
1818
run: |
19-
$version = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ }
19+
$version = ([xml](Get-Content src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ }
2020
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
2121
Write-Host "PR version: $version"
2222
@@ -30,7 +30,7 @@ jobs:
3030
id: main
3131
shell: pwsh
3232
run: |
33-
$version = ([xml](Get-Content main-branch/src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ }
33+
$version = ([xml](Get-Content main-branch/src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ }
3434
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
3535
Write-Host "Main version: $version"
3636

.github/workflows/deploy-web.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
paths:
77
- 'src/PlanViewer.Core/**'
88
- 'src/PlanViewer.Web/**'
9-
- 'src/PlanViewer.App/PlanViewer.App.csproj'
9+
- 'src/Directory.Build.props'
1010
- '.github/workflows/deploy-web.yml'
1111
workflow_dispatch:
1212

@@ -37,17 +37,6 @@ jobs:
3737
- name: Install WASM workload
3838
run: dotnet workload install wasm-tools
3939

40-
- name: Sync web version with app version
41-
shell: pwsh
42-
run: |
43-
$appVersion = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ }
44-
Write-Host "App version: $appVersion"
45-
$webCsproj = 'src/PlanViewer.Web/PlanViewer.Web.csproj'
46-
$content = Get-Content $webCsproj -Raw
47-
$content = [regex]::Replace($content, '<Version>[^<]+</Version>', "<Version>$appVersion</Version>")
48-
Set-Content -Path $webCsproj -Value $content -NoNewline
49-
Write-Host "Synced web csproj to $appVersion"
50-
5140
- name: Publish Blazor WASM
5241
run: dotnet publish src/PlanViewer.Web/PlanViewer.Web.csproj -c Release -o publish
5342

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
id: version
5252
shell: pwsh
5353
run: |
54-
$base = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ }
54+
$base = ([xml](Get-Content src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ }
5555
$date = Get-Date -Format "yyyyMMdd"
5656
$nightly = "$base-nightly.$date"
5757
echo "VERSION=$nightly" >> $env:GITHUB_OUTPUT

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: version
2323
shell: pwsh
2424
run: |
25-
$version = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ }
25+
$version = ([xml](Get-Content src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ }
2626
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
2727
2828
- name: Check if release already exists

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Project-specific
22
CLAUDE.md
33
examples/
4+
tools/
45

56
## Ignore Visual Studio temporary files, build results, and
67
## files generated by popular Visual Studio add-ons.

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Tests and server/ projects are outside src/ and are unaffected.
1616
-->
1717
<PropertyGroup>
18-
<Version>1.10.0</Version>
18+
<Version>1.11.0</Version>
1919
<Authors>Erik Darling</Authors>
2020
<Company>Darling Data LLC</Company>
2121
<Product>Performance Studio</Product>

src/PlanViewer.Ssms/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
[assembly: AssemblyProduct("Performance Studio for SSMS")]
88
[assembly: AssemblyCopyright("Copyright Darling Data 2026")]
99
[assembly: ComVisible(false)]
10-
[assembly: AssemblyVersion("1.10.0.0")]
11-
[assembly: AssemblyFileVersion("1.10.0.0")]
10+
[assembly: AssemblyVersion("1.11.0.0")]
11+
[assembly: AssemblyFileVersion("1.11.0.0")]

src/PlanViewer.Ssms/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
44
<Metadata>
55
<Identity Id="PlanViewer.Ssms.64F79022-9D9A-4463-A1AE-4B19426A0CB1"
6-
Version="1.10.0"
6+
Version="1.11.0"
77
Language="en-US"
88
Publisher="Darling Data" />
99
<DisplayName>Performance Studio for SSMS</DisplayName>

0 commit comments

Comments
 (0)