diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 891990675..d30c1a768 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -3,6 +3,11 @@ name: Update Homebrew Tap on: release: types: [published] + workflow_dispatch: + inputs: + tag: + description: 'Release tag (e.g. v0.10.0)' + required: true permissions: {} @@ -14,10 +19,11 @@ jobs: env: GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} run: | - VERSION="${GITHUB_REF_NAME#v}" + TAG="${{ github.event.inputs.tag || github.ref_name }}" + VERSION="${TAG#v}" TMPDIR=$(mktemp -d) - gh release download "$GITHUB_REF_NAME" \ + gh release download "$TAG" \ --repo "$GITHUB_REPOSITORY" \ --pattern 'OpenPencil_aarch64.app.tar.gz' \ --pattern 'OpenPencil_x64.app.tar.gz' \ diff --git a/src/components/properties/StrokeSection.vue b/src/components/properties/StrokeSection.vue index 4f8d1c2f0..4e60b9998 100644 --- a/src/components/properties/StrokeSection.vue +++ b/src/components/properties/StrokeSection.vue @@ -1,12 +1,5 @@