Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
- name: scripts
run: |
gulp tslint
gulp genAikey
vsce package
- name: upload .vsix to github tag
uses: svenstaro/upload-release-action@v2
Expand All @@ -107,8 +108,11 @@ jobs:
if [[ ${{ env.VERSION }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo ::set-output name=ISPRODUCTION::true
fi
# Skip attempting to publish for now, because I can't figure out how to
# generate a valid VSCE_TOKEN. Instead we can manually publish by uploading
# the release build artifact to the extension publisher site.
- name: publish
if: steps.check-version.outputs.ISPRODUCTION == 'true'
if: false && steps.check-version.outputs.ISPRODUCTION == 'true'
env:
PROD_AIKEY: ${{ secrets.PROD_AIKEY }}
run: |
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 0.4.8

- Release date: November 9, 2021

### Changed

- Fix application insights key [31dd3a9](https://github.com/microsoft/vscode-arduino/commit/31dd3a94c64eb12a5483038c5bfe668abad36f91)

## Version 0.4.7

- Release date: November 5, 2021
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ gulp.task("clean", (done) => {

gulp.task("genAikey", (done) => {
const packageJson = JSON.parse(fs.readFileSync("package.json"));
packageJson.aiKey = process.env.PROD_AIKEY;
packageJson.aiKey = "f1e4de2f-62b0-45e1-b36e-9216f21bd08e";
fs.writeFileSync("package.json", JSON.stringify(packageJson, null, 2) + "\n");
done();
});
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-arduino",
"displayName": "Arduino",
"description": "Arduino for Visual Studio Code",
"version": "0.4.7",
"version": "0.4.8-rc",
"publisher": "vsciot-vscode",
"aiKey": "83dd2c27-6594-41d3-85a9-bdb22070eb42",
"preview": true,
Expand Down