File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 1.0.46] - 2024-11-05
8
+ ### Pipeline
9
+ Pipeline only changes
10
+
7
11
## [ 1.0.45] - 2024-11-01
8
12
### Pipeline
9
13
Pipeline only changes
Original file line number Diff line number Diff line change @@ -135,12 +135,19 @@ extends:
135
135
136
136
- powershell : ' Get-ChildItem -Path '' $(Build.BinariesDirectory)'' -Recurse CodeSign* | foreach { Remove-Item -Path $_.FullName }'
137
137
displayName : ' Delete Code Sign Summaries'
138
+
138
139
- task : PowerShell@2
139
140
displayName : Move Plugin File
140
141
inputs :
141
142
targetType : ' inline'
142
143
script : ' mv $env:BUILD_BINARIESDIRECTORY/Unsigned_Plugin/*.vsix $env:BUILD_STAGINGDIRECTORY/'
143
144
145
+ - task : CmdLine@2
146
+ displayName : ' List files in StagingDirectory'
147
+ inputs :
148
+ script : dir /B
149
+ workingDirectory : ' $(Build.StagingDirectory)'
150
+
144
151
# Install dependencies and VS Code Extension Manager (vsce >= v2.26.1 needed)
145
152
- script : |
146
153
cd $(Build.StagingDirectory)
@@ -155,9 +162,19 @@ extends:
155
162
azureSubscription : oss-vs-marketplace-publish-mi-connection
156
163
scriptType : " pscore"
157
164
scriptLocation : ' inlineScript'
165
+ workingDirectory : ' $(Build.StagingDirectory)'
158
166
inlineScript : |
159
- cd $(Build.StagingDirectory)
160
- vsce publish --azure-credential
167
+ $packPath = Resolve-Path $env:BUILD_STAGINGDIRECTORY\*.vsix
168
+ if ("$(ReleaseVersion)".Contains("-"))
169
+ {
170
+ echo "Publishing as --pre-release = $(ReleaseVersion)"
171
+ vsce publish --packagePath $packPath --pre-release --azure-credential
172
+ }
173
+ else
174
+ {
175
+ echo "Publishing as official release = $(ReleaseVersion)"
176
+ vsce publish --packagePath $packPath --azure-credential
177
+ }
161
178
162
179
- task : GitHubRelease@1
163
180
displayName : Release to GitHub
You can’t perform that action at this time.
0 commit comments