From 8fccc7fc9e59bcbc170eb979454a25fc56fe788d Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Fri, 12 Aug 2022 11:30:10 +0200 Subject: [PATCH] Updates for open vsx --- .github/workflows/release-open-vsx.yml | 22 ++++++++++++++++++++++ .github/workflows/release.yml | 3 +++ LICENSE | 22 +++++++++++++++++----- package.json | 3 ++- 4 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/release-open-vsx.yml diff --git a/.github/workflows/release-open-vsx.yml b/.github/workflows/release-open-vsx.yml new file mode 100644 index 0000000..1a90196 --- /dev/null +++ b/.github/workflows/release-open-vsx.yml @@ -0,0 +1,22 @@ +name: Manual release to Open VSX +on: + workflow_dispatch: + +jobs: + build: + name: "Build and release" + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14 + registry-url: https://registry.npmjs.org/ + + - name: Install the dependencies + run: npm i + + - name: Publish to open-vsx.org + run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }} + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23f48a7..152042d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,3 +23,6 @@ jobs: - name: Publish run: npx vsce publish -p ${{ secrets.VSCE_PAT }} + - name: Publish to open-vsx.org + run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }} + diff --git a/LICENSE b/LICENSE index 6f493a2..e69ff21 100644 --- a/LICENSE +++ b/LICENSE @@ -1,9 +1,21 @@ -The MIT License (MIT) +MIT License -Copyright (c) 2015-2017 ElioStruyf.com, LLC +Copyright (c) 2022 Elio Struyf -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/package.json b/package.json index cd12948..b0ff4f4 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,8 @@ "color": "#0E131F", "theme": "dark" }, + "license": "MIT", + "author": "Elio Struyf (https://www.eliostruyf.com)", "icon": "assets/the-unnamed_128x128.png", "badges": [ { @@ -46,7 +48,6 @@ "url": "https://www.buymeacoffee.com/zMeFRy9" } ], - "license": "MIT", "engines": { "vscode": "^1.57.0" },