Skip to content

Commit

Permalink
build: support beta releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Michsior14 committed Feb 23, 2024
1 parent 2c28774 commit 816cff6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: release

on:
workflow_dispatch:
inputs:
pre-release:
description: |
Marks the release as pre-release. Default false.
type: boolean
default: false
required: false

permissions:
contents: write
Expand All @@ -23,8 +30,11 @@ jobs:
git-message: "release: {version}"
version-file: "./custom_components/venta/manifest.json"
skip-git-pull: "true"
pre-release: "${{ github.event.inputs.pre-release }}"
pre-release-identifier: "beta"
- uses: ncipollo/release-action@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
tag: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
prerelease: "${{ github.event.inputs.pre-release }}"

0 comments on commit 816cff6

Please sign in to comment.