You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c065b39
Browse filesBrowse the repository at this point in the historyBrowse files
Release on tag without approval; dry runs no longer wait
Split the workflow into a build job (version checks, build, tests, artifact) and a publish job
that runs only for vX.Y.Z tags: it publishes the VSIX to the Marketplace and then creates the
GitHub release with the VSIX attached. Manual runs build and test only.
if ($assembly -ne "$version.0") { throw "AssemblyVersion $assembly does not match manifest version $version" }
52
41
if ($registration -ne $version) { throw "InstalledProductRegistration $registration does not match manifest version $version" }
53
-
if ($env:PUBLISH -eq 'true' -and $env:GITHUB_REF_NAME -ne "v$version") { throw "Tag $env:GITHUB_REF_NAME does not match manifest version v$version" }
42
+
if ($env:GITHUB_REF_TYPE -eq 'tag' -and $env:GITHUB_REF_NAME -ne "v$version") { throw "Tag $env:GITHUB_REF_NAME does not match manifest version v$version" }
54
43
if (-not (Select-String -Path 'CHANGELOG.txt' -SimpleMatch "SourceControlSwitcher - v$version" -Quiet)) { throw "CHANGELOG.txt has no section for v$version" }
0 commit comments