diff --git a/.github/workflows/check-version-bump.yml b/.github/workflows/check-version-bump.yml index 3cddd9d..a8ef8ea 100644 --- a/.github/workflows/check-version-bump.yml +++ b/.github/workflows/check-version-bump.yml @@ -16,7 +16,7 @@ jobs: id: pr shell: pwsh run: | - $version = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ } + $version = ([xml](Get-Content src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ } echo "VERSION=$version" >> $env:GITHUB_OUTPUT Write-Host "PR version: $version" @@ -30,7 +30,7 @@ jobs: id: main shell: pwsh run: | - $version = ([xml](Get-Content main-branch/src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ } + $version = ([xml](Get-Content main-branch/src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ } echo "VERSION=$version" >> $env:GITHUB_OUTPUT Write-Host "Main version: $version" diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index 51b9a26..2c3ce82 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -6,7 +6,7 @@ on: paths: - 'src/PlanViewer.Core/**' - 'src/PlanViewer.Web/**' - - 'src/PlanViewer.App/PlanViewer.App.csproj' + - 'src/Directory.Build.props' - '.github/workflows/deploy-web.yml' workflow_dispatch: @@ -37,17 +37,6 @@ jobs: - name: Install WASM workload run: dotnet workload install wasm-tools - - name: Sync web version with app version - shell: pwsh - run: | - $appVersion = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ } - Write-Host "App version: $appVersion" - $webCsproj = 'src/PlanViewer.Web/PlanViewer.Web.csproj' - $content = Get-Content $webCsproj -Raw - $content = [regex]::Replace($content, '[^<]+', "$appVersion") - Set-Content -Path $webCsproj -Value $content -NoNewline - Write-Host "Synced web csproj to $appVersion" - - name: Publish Blazor WASM run: dotnet publish src/PlanViewer.Web/PlanViewer.Web.csproj -c Release -o publish diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1fca6db..1580355 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -51,7 +51,7 @@ jobs: id: version shell: pwsh run: | - $base = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ } + $base = ([xml](Get-Content src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ } $date = Get-Date -Format "yyyyMMdd" $nightly = "$base-nightly.$date" echo "VERSION=$nightly" >> $env:GITHUB_OUTPUT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ace4447..9fbfa31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: id: version shell: pwsh run: | - $version = ([xml](Get-Content src/PlanViewer.App/PlanViewer.App.csproj)).Project.PropertyGroup.Version | Where-Object { $_ } + $version = ([xml](Get-Content src/Directory.Build.props)).Project.PropertyGroup.Version | Where-Object { $_ } echo "VERSION=$version" >> $env:GITHUB_OUTPUT - name: Check if release already exists diff --git a/.gitignore b/.gitignore index e0ded08..3bcca1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Project-specific CLAUDE.md examples/ +tools/ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 0c5debe..837fc13 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -15,7 +15,7 @@ Tests and server/ projects are outside src/ and are unaffected. --> - 1.10.0 + 1.11.0 Erik Darling Darling Data LLC Performance Studio diff --git a/src/PlanViewer.Ssms/Properties/AssemblyInfo.cs b/src/PlanViewer.Ssms/Properties/AssemblyInfo.cs index 92bf3f6..f47654f 100644 --- a/src/PlanViewer.Ssms/Properties/AssemblyInfo.cs +++ b/src/PlanViewer.Ssms/Properties/AssemblyInfo.cs @@ -7,5 +7,5 @@ [assembly: AssemblyProduct("Performance Studio for SSMS")] [assembly: AssemblyCopyright("Copyright Darling Data 2026")] [assembly: ComVisible(false)] -[assembly: AssemblyVersion("1.10.0.0")] -[assembly: AssemblyFileVersion("1.10.0.0")] +[assembly: AssemblyVersion("1.11.0.0")] +[assembly: AssemblyFileVersion("1.11.0.0")] diff --git a/src/PlanViewer.Ssms/source.extension.vsixmanifest b/src/PlanViewer.Ssms/source.extension.vsixmanifest index cacb0a1..7000ed2 100644 --- a/src/PlanViewer.Ssms/source.extension.vsixmanifest +++ b/src/PlanViewer.Ssms/source.extension.vsixmanifest @@ -3,7 +3,7 @@ xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011"> Performance Studio for SSMS