Skip to content

Workflow file for this run

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: "Beta release"
type: boolean
required: false
push:
tags:
- "*"
permissions:
contents: write
packages: 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: RssCopyist
STYLE: false
BETA: ${{ inputs.beta || false}}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bump-version-and-release:
if: ${{ inputs.bump }}
uses: lisandra-dev/reusable-workflows/.github/workflows/obsidian-plugin-bump-version.yaml@main
with:
PLUGIN_NAME: RssCopyist
STYLE: false
BETA: ${{ inputs.beta }}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}