Skip to content

Commit

Permalink
revert: platform specific release (#60)
Browse files Browse the repository at this point in the history
* udpate:pipeleine

Signed-off-by: shivamsouravjha <[email protected]>

* udpate:pipeleine

Signed-off-by: shivamsouravjha <[email protected]>

* udpate:pipeleine

Signed-off-by: shivamsouravjha <[email protected]>

* udpate:pipeleine

Signed-off-by: shivamsouravjha <[email protected]>

* udpate:pipeleine

Signed-off-by: shivamsouravjha <[email protected]>

* revert: platform specific release

Signed-off-by: shivamsouravjha <[email protected]>

* revert: platform specific release

Signed-off-by: shivamsouravjha <[email protected]>

---------

Signed-off-by: shivamsouravjha <[email protected]>
  • Loading branch information
shivamsouravjha authored Sep 19, 2024
1 parent 7a2c085 commit 993e658
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 41 deletions.
45 changes: 5 additions & 40 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
os: [linux, darwin, win32]
arch: [x64, arm64]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -22,49 +18,18 @@ jobs:
with:
node-version: '18'

# Install npm dependencies based on the architecture
- name: Install dependencies
run: |
if [ "${{ matrix.arch }}" == "arm64" ]; then
npm_config_arch=arm64 npm install --build-from-source
else
npm_config_arch=x64 npm install --build-from-source
fi
run: npm install

- name: Run Rollup for Compilation
- name: Run Rollup
run: npm run rollupci

- name: List Compiled Files (Debugging)
- name: List contents of out/compiled directory (for debugging)
run: ls -R out/compiled

- name: Install vsce
run: npm install -g @vscode/vsce

- name: Package VSIX for Target Platform
run: |
case "${{ matrix.os }}" in
linux) vsce package --target linux-${{ matrix.arch }} ;;
darwin) vsce package --target darwin-${{ matrix.arch }} ;;
win32) vsce package --target win32-${{ matrix.arch }} ;;
esac
- name: Capture VSIX Filename
id: capture_vsix_file
run: |
VSIX_FILE=$(ls *.vsix)
echo "VSIX_FILE=$VSIX_FILE" >> $GITHUB_ENV
shell: bash

- name: Print VSIX Filename
id: print_vsix_file
run: |
echo "Generated package for OS ${{ matrix.os }} and architecture ${{ matrix.arch }}:"
ls *.vsix

- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
extensionFile: ${{ env.VSIX_FILE }}
registryUrl: https://marketplace.visualstudio.com
skipDuplicate: true
skipDuplicate: true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ First Release for Vs Code Extension.
## [1.0.14]

- Back button refactored for better User Experience

## [1.0.15]

- Reverting to universal release
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": "keployio",
"displayName": "Keploy",
"description": "Streamline testing with the power of Keploy, directly in your favorite IDE.",
"version": "1.0.14",
"version": "1.0.15",
"publisher": "Keploy",
"icon": "media/logo.png",
"pricing": "Free",
Expand Down

0 comments on commit 993e658

Please sign in to comment.