ci: add force release version

This commit is contained in:
winston 2023-12-28 11:59:12 +01:00
parent 0e04caf665
commit a08b25f6a3
No known key found for this signature in database
GPG Key ID: 3786770EDBC2B481

View File

@ -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