diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba65ca101..096d9e580 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,6 +59,15 @@ jobs: ./backend/dist/sub-store-parser.loon.min.js ./backend/dist/cron-sync-artifacts.min.js ./backend/dist/sub-store.bundle.js + - name: Git push assets to "release" branch + run: | + cd backend || exit 1 + git init + git checkout -b release + git add . + git commit -m "release: ${{ steps.tag.outputs.release_tag }}" + git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" + git push -f -u origin release - name: Sync to GitLab env: GITLAB_PIPELINE_TOKEN: ${{ secrets.GITLAB_PIPELINE_TOKEN }} diff --git a/backend/package.json b/backend/package.json index 1628701f8..690e9697b 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.230", + "version": "2.14.231", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": {