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 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 +}