chore(release): 1.9.0 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release obsidian plugin | |
on: | |
workflow_dispatch: | |
inputs: | |
bump: | |
default: false | |
description: "Bump version based on semantic release" | |
type: boolean | |
required: false | |
beta: | |
default: false | |
description: "Make a beta release" | |
type: boolean | |
required: false | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: write | |
jobs: | |
release: | |
if: (github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && !inputs.bump) | |
uses: lisandra-dev/reusable-workflows/.github/workflows/obsidian-plugin-release.yaml@main | |
with: | |
PLUGIN_NAME: "create-note-in-folder" | |
STYLE: true | |
BETA: ${{ inputs.beta || false }} | |
secrets: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
bump-version: | |
if: ${{ inputs.bump }} | |
uses: lisandra-dev/reusable-workflows/.github/workflows/obsidian-plugin-bump-version.yaml@main | |
with: | |
PLUGIN_NAME: "create-note-in-folder" | |
STYLE: true | |
BETA: ${{ inputs.beta }} | |
secrets: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |