From a08b25f6a3b125d2e70824349bc357e8161609c8 Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 28 Dec 2023 11:59:12 +0100 Subject: [PATCH] ci: add force release version --- .github/workflows/release-please.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 7d033e1..fef9904 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -9,6 +9,10 @@ on: description: Force a release required: true type: boolean + force_release_version: + description: Version of the release + required: false + type: string permissions: contents: write @@ -51,4 +55,4 @@ jobs: - name: Upload the palette files run: | tar czf catppuccin.tar.gz --directory=dist/palettes/ . - gh release upload ${{ needs.release-please.outputs.tag_name }} catppuccin.tar --clobber + gh release upload ${{ needs.release-please.outputs.tag_name || inputs.force_release_version }} catppuccin.tar --clobber