Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit a28b708

Browse files
committed
remove pwsh scripts
1 parent 9c174d4 commit a28b708

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
- name: 🌍 Fetch dependencies
3232
run: npm ci
3333
- name: 🏗️ Compile extension
34-
run: "npm run build"
35-
- name: 🏗️ compress extension
36-
shell: pwsh
3734
id: version_get
38-
run: scripts/package.ps1
35+
run: |
36+
npm run build
37+
rm -rf CodApiRead
38+
cp -r dist CodApiRead
39+
zip -r CodApiRead.zip CodApiRead
40+
VERSION=$(npm run --silent version)
41+
echo "::set-output name=version::$VERSION"
3942
- name: ☁️ Upload artifact
4043
uses: actions/upload-artifact@v3
4144
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "webpack --config webpack.config.js",
88
"format": "prettier --write .",
9-
"version": "node -e console.log(require('./package.json').version);"
9+
"version": "node -e \"console.log(require('./package.json').version);\""
1010
},
1111
"keywords": [],
1212
"author": "",

scripts/package.ps1

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)