diff --git a/.github/workflows/meta.yml b/.github/workflows/meta.yml new file mode 100644 index 0000000..3ee7562 --- /dev/null +++ b/.github/workflows/meta.yml @@ -0,0 +1,36 @@ +name: Update metainfo on release + +on: + release: + types: + - published + workflow_dispatch: + +jobs: + update: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json + + - name: Use Node.js 18 + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install dependencies + run: pnpm i + + - name: Update metainfo + run: pnpm updateMeta + + - name: Commit and push changes + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add meta/dev.vencord.Vesktop.metainfo.xml + git commit -m "Insert release changes for ${{ github.event.release.tag_name }} [skip ci]" + git push \ No newline at end of file diff --git a/meta/dev.vencord.Vesktop.metainfo.xml b/meta/dev.vencord.Vesktop.metainfo.xml index cb04ef7..f725f58 100644 --- a/meta/dev.vencord.Vesktop.metainfo.xml +++ b/meta/dev.vencord.Vesktop.metainfo.xml @@ -29,19 +29,6 @@ - - https://github.com/Vencord/Vesktop/releases/tag/v0.4.4 - -

What's Changed

-
    -
  • improve venmic system compatibility by @Curve in https://github.com/Vencord/Vesktop/pull/230
  • -
  • Update steamdeck controller layout by @AAGaming00 in https://github.com/Vencord/Vesktop/pull/236
  • -
  • feat: Add option to disable smooth scrolling by @ZirixCZ in https://github.com/Vencord/Vesktop/pull/255
  • -
  • unblur shiggy in splash screen by @viacoro in https://github.com/Vencord/Vesktop/pull/221
  • -
  • update electron & arrpc @D3SOX in https://github.com/Vencord/Vesktop/pull/258
  • -
-
-
https://github.com/Vencord/Vesktop/releases/tag/v0.4.3 diff --git a/package.json b/package.json index 68fadf6..fb23c98 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "start:watch": "pnpm build:dev && tsx scripts/startWatch.mts", "test": "pnpm lint && pnpm testTypes", "testTypes": "tsc --noEmit", - "watch": "pnpm build --watch" + "watch": "pnpm build --watch", + "updateMeta": "tsx scripts/utils/updateMeta.mts" }, "dependencies": { "arrpc": "github:OpenAsar/arrpc#3e22fd776273afaa4a80c51deb86077ffdd4d2ae"