Added build tag (#23)
This commit is contained in:
Родитель
85c9487f7b
Коммит
d30900c7f7
|
@ -3,6 +3,8 @@
|
|||
|
||||
## v0.3.0
|
||||
|
||||
What's changed since v0.2.0:
|
||||
|
||||
- Added highlighting for `Synopsis:` metadata in comments. [#16](https://github.com/BernieWhite/PSRule-vscode/issues/16)
|
||||
- Added syntax highlighting and snippet for `Recommend` keyword. [#17](https://github.com/BernieWhite/PSRule-vscode/issues/17)
|
||||
- Added markdown snippet for rule documentation. [#19](https://github.com/BernieWhite/PSRule-vscode/issues/19)
|
||||
|
|
|
@ -9,6 +9,7 @@ This **preview** extension for Visual Studio Code adds convenience features for
|
|||
Features include:
|
||||
|
||||
- Snippets and syntax highlighting for built-in keywords.
|
||||
- Snippets for rule documentation.
|
||||
- YAML schema validation for options.
|
||||
|
||||
## Disclaimer
|
||||
|
|
|
@ -101,10 +101,17 @@ task ReleaseExtension {
|
|||
exec { & npm run publish -- --packagePath $packagePath --pat $ApiKey }
|
||||
}
|
||||
|
||||
# Synopsis: Add shipit build tag
|
||||
task TagBuild {
|
||||
if ($Null -ne $Env:BUILD_DEFINITIONNAME) {
|
||||
Write-Host "`#`#vso[build.addbuildtag]shipit";
|
||||
}
|
||||
}
|
||||
|
||||
task Build Clean, PackageRestore, BuildExtension, VersionExtension, PackageExtension
|
||||
|
||||
task Install Build, InstallExtension
|
||||
|
||||
task . Build
|
||||
|
||||
task Release ReleaseExtension
|
||||
task Release ReleaseExtension, TagBuild
|
||||
|
|
Загрузка…
Ссылка в новой задаче