Skip to content

Commit

Permalink
open vsx registry take 2 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
furudean committed Jul 24, 2024
1 parent 78abe79 commit 4b32789
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 9 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
target: win32-x64
platformName: win

env:
EXTENSION_FILE: renpy-warp-${{ github.ref_name }}-${{ matrix.platformName }}.vsix

runs-on: '${{ matrix.os }}'
steps:
- name: Checkout
Expand All @@ -48,9 +51,7 @@ jobs:
- run: npm install

- name: create extension package
run: >-
npm run package --
--out renpy-warp-${{ github.ref_name }}-${{ matrix.platformName }}.vsix
run: npm run package -- --out ${{ env.EXTENSION_FILE }}

- name: create github release
uses: ncipollo/release-action@v1
Expand All @@ -65,7 +66,14 @@ jobs:
omitPrereleaseDuringUpdate: true
omitDraftDuringUpdate: true

- name: release to marketplace
run: npm run publish -- --target ${{ matrix.target }}
- name: release to visual studio code marketplace
run: npm run publish:vsce -- --target ${{ matrix.target }}
env:
VSCE_PAT: '${{ secrets.VSCE_PAT }}'

- name: release to open vsx registry
run: >-
npm run publish:ovsx --
--target ${{ matrix.target }}
--pat ${{ secrets.OVSX_TOKEN }}
${{ env.EXTENSION_FILE }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 1.19.13 - 2024-07-23

- Now also published on the Open VSX registry

## 1.18.12 - 2024-07-22

- Reverts CI/CD pipeline changes
Expand Down
64 changes: 62 additions & 2 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "renpyWarp",
"displayName": "Ren'Py Launch and Sync",
"description": "Keep Ren'Py in sync with your code",
"version": "1.8.12",
"version": "1.8.13",
"publisher": "PaisleySoftworks",
"icon": "images/eileen.png",
"engines": {
Expand Down Expand Up @@ -261,7 +261,9 @@
],
"scripts": {
"vscode:prepublish": "npm run check-types && npm run lint && node esbuild.js --production",
"publish": "vsce publish",
"publish": "echo 'use `npm run publish:vsce` or `npm run publish:ovsx` instead'",
"publish:vsce": "vsce publish",
"publish:ovsx": "ovsx publish",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
Expand Down Expand Up @@ -290,6 +292,7 @@
"esbuild-plugin-copy": "^2.1.1",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"ovsx": "^0.9.1",
"typescript": "^5.5.3"
},
"dependencies": {
Expand Down

0 comments on commit 4b32789

Please sign in to comment.