Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Build

on:
release:
types: [created]
workflow_call:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install build tools
run: python -m pip install build wheel
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release-please

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: googleapis/release-please-action@v4
id: release

publish:
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
uses: ./.github/workflows/release-build.yml
secrets: inherit
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Switchboard

[![Status: Active](https://img.shields.io/badge/status-active-brightgreen)](https://github.com/OscillateLabsLLC/.github/blob/main/SUPPORT_STATUS.md)

Switchboard decides which OVOS skill should handle what someone says, and stays silent when the speech wasn't
meant for the assistant. It replaces OVOS's intent matchers (Padatious, Adapt, Model2Vec) with a few steps that
each had to prove themselves on real household traffic before they were kept.
Expand Down
2 changes: 1 addition & 1 deletion ovos_switchboard/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# START_VERSION_BLOCK
__version__ = "0.1.0"
__version__ = "0.1.0" # x-release-please-version
# END_VERSION_BLOCK
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ authors = [
]
keywords = ["ovos", "neon", "pipeline", "intent", "voice", "llm", "switchboard"]
classifiers = [
# Guards against an accidental `uv publish` reaching PyPI while the repo is private.
"Private :: Do Not Upload",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
Expand Down
14 changes: 14 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"packages": {
".": {
"release-type": "python",
"initial-version": "1.0.0",
"extra-files": [
{
"type": "generic",
"path": "ovos_switchboard/version.py"
}
]
}
}
}