Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit c700ec7

Browse files
committed
Address PR comments
1 parent fc0287f commit c700ec7

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/build.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ jobs:
7373

7474
- name: Check for linting errors
7575
run: gulp tslint
76-
- name: Build extension
77-
run: gulp build --mode=production
78-
- name: Pack extension
76+
- name: Build and pack extension
7977
run: vsce package --out vscode-arduino.vsix
8078
- name: Publish extension VSIX as artifact
8179
uses: actions/upload-artifact@v2

azure-pipelines.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@ steps:
7878
- script: gulp genAikey
7979
displayName: Use production AI key
8080
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
81-
- script: gulp build --mode=production
82-
displayName: Build extension
8381
# Pack the extension now even though it's unsigned so that we ignore files
8482
# from .vscodeignore. This will reduce load on the signing server later and
8583
# ensure we only attempt to sign shipping files.
8684
- script: vsce package --out vscode-arduino.vsix
87-
displayName: Pack extension
85+
displayName: Build and pack extension
8886

8987
- task: ComponentGovernanceComponentDetection@0
9088
displayName: Detect components

build/SignFiles.proj

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<FilesToSign Include="$(OutDir)\**\*.js" Exclude="$(OutDir)\**\node_modules\**\*.js">
1414
<Authenticode>Microsoft400</Authenticode>
1515
</FilesToSign>
16+
<!-- Authenticode only works on Windows files. If we get the ability to sign Linux and Mac executables, the signing
17+
steps should probably move to the serial-monitor-cli repo instead of doing all the signing here. -->
1618
<FilesToSign Include="$(OutDir)\out\serial-monitor-cli\win32\*.exe">
1719
<Authenticode>Microsoft400</Authenticode>
1820
</FilesToSign>

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@
571571
]
572572
},
573573
"scripts": {
574+
"vscode:prepublish": "gulp build --mode=production",
574575
"postinstall": "cd ./src/views && npm install && node ../../node_modules/node-usb-native/scripts/rebuild-serialport.js",
575576
"test": "gulp test"
576577
},

0 commit comments

Comments
 (0)