This repository was archived by the owner on Oct 1, 2024. It is now read-only.
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,19 @@ steps:
115
115
includeRootFolder : false
116
116
archiveType : zip
117
117
archiveFile : $(Build.StagingDirectory)\vscode-arduino.vsix
118
- - script : python .\build\markExecutableFiles.py
119
- displayName : Make serial monitor executable
120
118
- task : MSBuild@1
121
119
displayName : Sign VSIX
122
120
inputs :
123
121
solution : .\build\SignVsix.proj
124
122
msbuildArguments : /p:SignType=$(SignType)
125
123
# MicroBuild signing will always fail on public PRs.
126
124
condition : ne(variables['Build.Reason'], 'PullRequest')
125
+ # VSIX signing removes the executable attributes on files. Luckily, the
126
+ # signature only seems to be based on the content of the files, not the
127
+ # attributes, so we can safely go back and mark the serial monitor as
128
+ # executable without invalidating the signature.
129
+ - script : python .\build\markExecutableFiles.py
130
+ displayName : Make serial monitor executable
127
131
- publish : $(Build.StagingDirectory)\vscode-arduino.vsix
128
132
artifact : VS Code extension VSIX
129
133
displayName : Publish extension VSIX as artifact
You can’t perform that action at this time.
0 commit comments