Skip to content

Remove preview label from marketplace #4464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Allow preview suffix for PowerShellEditorServices too
Since I do actually plan to use it to preview a PSReadLine preview.
  • Loading branch information
andyleejordan committed Mar 23, 2023
commit fc9bdd61adc08cf44cb4bb5d425210f7fd9910f6
4 changes: 3 additions & 1 deletion tools/VersionTools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ function Test-VersionIsValid {
}
"PowerShellEditorServices" {
if ($SemanticVersion.PreReleaseLabel) {
throw "Version shouldn't have a pre-release label!"
if ($SemanticVersion.PreReleaseLabel -ne "preview") {
throw "Suffix should only be 'preview'!"
}
}
}
}
Expand Down