From 1c050e117036bfb3536e2e1c3a9b5bf9957dc242 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Tue, 11 Nov 2025 13:39:11 -0500 Subject: [PATCH 1/2] Make a rolling release with commits to origin/HEAD --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bea1bf..09e3e4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,3 +42,25 @@ jobs: with: name: sublime-merge.docset.tgz path: out/sublime-merge.docset.tgz + + + rolling-release: + needs: build + runs-on: ubuntu-latest + + steps: + - name: Download the docsets + uses: actions/download-artifact@v5 + + - name: Update rolling prerelease + if: ${{ github.ref_name == 'master' && github.repository == 'SublimeText/sublime-text-docset' }} + uses: ncipollo/release-action@v1.15.0 + with: + name: Rolling release draft + draft: true + allowUpdates: true + tag: draft-release + body: |- + Extract the archive to a `sublime-text.docset` folder and install + it with the instructions in the repo's ReadMe. + artifacts: sublime-*.docset.tgz From 36c7f68ec9ed9dfb7408a4e5e9503efbc49c2f32 Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Tue, 11 Nov 2025 13:47:53 -0500 Subject: [PATCH 2/2] Skip release step completely if not on master --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 09e3e4e..b808779 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,7 @@ jobs: rolling-release: + if: ${{ github.ref_name == 'master' && github.repository == 'SublimeText/sublime-text-docset' }} needs: build runs-on: ubuntu-latest @@ -53,7 +54,6 @@ jobs: uses: actions/download-artifact@v5 - name: Update rolling prerelease - if: ${{ github.ref_name == 'master' && github.repository == 'SublimeText/sublime-text-docset' }} uses: ncipollo/release-action@v1.15.0 with: name: Rolling release draft