From 415532ff07127569fcf8c0e5dc566e59bad423c6 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Wed, 2 Apr 2025 14:57:44 +0200 Subject: [PATCH 1/2] Add manifest for beta testing --- manifest-beta.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifest-beta.json diff --git a/manifest-beta.json b/manifest-beta.json new file mode 100644 index 0000000..59a6a1a --- /dev/null +++ b/manifest-beta.json @@ -0,0 +1,11 @@ +{ + "id": "github-gitless-sync", + "name": "GitHub Gitless Sync", + "version": "1.0.7-beta", + "minAppVersion": "1.7.7", + "description": "Sync a GitHub repository with vaults on different platforms without requiring git installation", + "author": "Silvano Cerza", + "authorUrl": "https://silvanocerza.com", + "fundingUrl": "https://ko-fi.com/silvanocerza", + "isDesktopOnly": false +} From 32dee2db4c3ca1f307331e3c29c69e9f372542c2 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Wed, 2 Apr 2025 15:09:30 +0200 Subject: [PATCH 2/2] Rework release workflow to create beta releases --- .github/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90f734d..5d82c7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release plugin on: push: tags: - - "[0-9].[0-9]+.[0-9]+" + - "[0-9].[0-9]+.[0-9]+*" jobs: build: @@ -27,6 +27,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release create "${{ github.ref_name }}" \ - --title="${{ github.ref_name }}" \ - main.js manifest.json styles.css + if [[ "${{ github.ref_name }}" == *-beta ]]; then + gh release create "${{ github.ref_name }}" \ + --title="${{ github.ref_name }}" \ + --prerelease \ + main.js manifest.json styles.css + else + gh release create "${{ github.ref_name }}" \ + --title="${{ github.ref_name }}" \ + main.js manifest.json styles.css + fi