Skip to content

Commit

Permalink
remove pwsh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ate47 committed Jul 23, 2022
1 parent 9c174d4 commit a28b708
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 25 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:
- name: 🌍 Fetch dependencies
run: npm ci
- name: 🏗️ Compile extension
run: "npm run build"
- name: 🏗️ compress extension
shell: pwsh
id: version_get
run: scripts/package.ps1
run: |
npm run build
rm -rf CodApiRead
cp -r dist CodApiRead
zip -r CodApiRead.zip CodApiRead
VERSION=$(npm run --silent version)
echo "::set-output name=version::$VERSION"
- name: ☁️ Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "webpack --config webpack.config.js",
"format": "prettier --write .",
"version": "node -e console.log(require('./package.json').version);"
"version": "node -e \"console.log(require('./package.json').version);\""
},
"keywords": [],
"author": "",
Expand Down
20 changes: 0 additions & 20 deletions scripts/package.ps1

This file was deleted.

0 comments on commit a28b708

Please sign in to comment.