Skip to content

Commit

Permalink
chore: enable pre-releases (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
akloeckner authored Dec 23, 2024
1 parent 4f0ad94 commit 3697c40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ on:
type: boolean
required: false
default: false

pre_release:
description: Make this a pre-release?
type: boolean
required: false
default: false

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -26,6 +31,7 @@ jobs:
github-token: ${{ secrets.github_token }}
skip-version-file: true
git-push: false
pre-release: ${{ inputs.pre_release == true }}

- name: Create release
uses: actions/create-release@v1
Expand All @@ -39,3 +45,4 @@ jobs:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
prerelease: ${{ inputs.pre_release == true }}
2 changes: 1 addition & 1 deletion custom_components/hafas/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"issue_tracker": "https://github.com/akloeckner/hacs-hafas/issues",
"requirements": ["pyhafas~=0.6"],
"ssdp": [],
"version": "1.0.4",
"version": "0.0.1",
"zeroconf": []
}

0 comments on commit 3697c40

Please sign in to comment.