Skip to content

Commit

Permalink
Merge pull request #23 from OpenVoiceOS/release-0.0.3a4
Browse files Browse the repository at this point in the history
Release 0.0.3a4
  • Loading branch information
JarbasAl authored Nov 24, 2024
2 parents add03f1 + ca03b8f commit 26096e6
Show file tree
Hide file tree
Showing 13 changed files with 313 additions and 238 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/conventional-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# auto add labels to PRs
on:
pull_request_target:
types: [ opened, edited ]
name: conventional-release-labels
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: bcoe/conventional-release-labels@v1
32 changes: 0 additions & 32 deletions .github/workflows/propose_release.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/publish_alpha.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/publish_release.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/publish_stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Stable Release
on:
push:
branches: [master]
workflow_dispatch:

jobs:
publish_stable:
uses: TigreGotico/gh-automations/.github/workflows/publish-stable.yml@master
secrets: inherit
with:
branch: 'master'
version_file: 'ovos_stt_http_server/version.py'
setup_py: 'setup.py'
publish_release: true

publish_pypi:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


sync_dev:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
ref: master
- name: Push master -> dev
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: dev
108 changes: 108 additions & 0 deletions .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: Release Alpha and Propose Stable

on:
pull_request:
types: [closed]
branches: [dev]

jobs:
publish_alpha:
if: github.event.pull_request.merged == true
uses: TigreGotico/gh-automations/.github/workflows/publish-alpha.yml@master
secrets: inherit
with:
branch: 'dev'
version_file: 'ovos_stt_http_server/version.py'
setup_py: 'setup.py'
update_changelog: true
publish_prerelease: true
changelog_max_issues: 100

notify:
if: github.event.pull_request.merged == true
needs: publish_alpha
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Send message to Matrix bots channel
id: matrix-chat-message
uses: fadenb/[email protected]
with:
homeserver: 'matrix.org'
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org'
message: |
new ${{ github.event.repository.name }} PR merged! https://github.com/${{ github.repository }}/pull/${{ github.event.number }}
publish_pypi:
needs: publish_alpha
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


propose_release:
needs: publish_alpha
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- name: Checkout dev branch
uses: actions/checkout@v3
with:
ref: dev

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Get version from setup.py
id: get_version
run: |
VERSION=$(python setup.py --version)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Create and push new branch
run: |
git checkout -b release-${{ env.VERSION }}
git push origin release-${{ env.VERSION }}
- name: Open Pull Request from dev to master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Variables
BRANCH_NAME="release-${{ env.VERSION }}"
BASE_BRANCH="master"
HEAD_BRANCH="release-${{ env.VERSION }}"
PR_TITLE="Release ${{ env.VERSION }}"
PR_BODY="Human review requested!"
# Create a PR using GitHub API
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token $GITHUB_TOKEN" \
-d "{\"title\":\"$PR_TITLE\",\"body\":\"$PR_BODY\",\"head\":\"$HEAD_BRANCH\",\"base\":\"$BASE_BRANCH\"}" \
https://api.github.com/repos/${{ github.repository }}/pulls
69 changes: 16 additions & 53 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,82 +1,45 @@
# Changelog

## [0.0.2](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.2) (2023-06-26)
## [0.0.3a4](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a4) (2024-11-24)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.2a10...0.0.2)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.3a3...0.0.3a4)

**Merged pull requests:**

- Fix automation copy/paste error [\#15](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/15) ([NeonDaniel](https://github.com/NeonDaniel))
- feat:semver [\#22](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/22) ([JarbasAl](https://github.com/JarbasAl))

## [0.0.2a10](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.2a10) (2023-06-26)
## [0.0.3a3](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a3) (2024-11-24)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/V0.0.2a9...0.0.2a10)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.3a2...0.0.3a3)

**Closed issues:**

- README.md the Dockerfile ENTRYPOINT command is incorrect [\#8](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/8)
- Improve README [\#1](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/1)

**Merged pull requests:**
**Implemented enhancements:**

- Update automation to shared actions [\#14](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/14) ([NeonDaniel](https://github.com/NeonDaniel))
- feat/lang\_detection\_plugin [\#19](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/19) ([JarbasAl](https://github.com/JarbasAl))

## [V0.0.2a9](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/V0.0.2a9) (2023-06-22)
## [0.0.3a2](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a2) (2024-10-01)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/V0.0.2a8...V0.0.2a9)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.3a1...0.0.3a2)

**Fixed bugs:**

- expected str, bytes or os.PathLike object, not NoneType [\#9](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/9)
- Audio file could not be read as PCM WAV, AIFF/AIFF-C, or Native FLAC [\#16](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/16)

**Closed issues:**

- Default "lang" option should only get "en", not "en-us" [\#10](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/10)
- Support primary and fallback both being ovos-stt-http-server instances [\#5](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/5)

**Merged pull requests:**

- Resolve Gradio errors [\#13](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/13) ([NeonDaniel](https://github.com/NeonDaniel))
- Update logging [\#12](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/12) ([NeonDaniel](https://github.com/NeonDaniel))

## [V0.0.2a8](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/V0.0.2a8) (2023-05-31)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/V0.0.2a7...V0.0.2a8)

## [V0.0.2a7](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/V0.0.2a7) (2023-05-30)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/V0.0.2a6...V0.0.2a7)

**Implemented enhancements:**

- add gradio to status report [\#7](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/7) ([JarbasAl](https://github.com/JarbasAl))

## [V0.0.2a6](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/V0.0.2a6) (2023-05-30)
- fix:requirements [\#21](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/21) ([JarbasAl](https://github.com/JarbasAl))
- Fix docker endpoint [\#18](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/18) ([atd](https://github.com/atd))

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/V0.0.2a5...V0.0.2a6)

**Implemented enhancements:**

- add stats endpoint + update readme [\#6](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/6) ([JarbasAl](https://github.com/JarbasAl))

## [V0.0.2a5](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/V0.0.2a5) (2023-05-05)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/V0.0.2a4...V0.0.2a5)

**Fixed bugs:**

- Handle supported languages with no example audio file [\#4](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/4) ([NeonDaniel](https://github.com/NeonDaniel))

## [V0.0.2a4](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/V0.0.2a4) (2023-05-05)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/afb94a25f646ab2a9f90a35f3914bc301067b289...V0.0.2a4)

**Implemented enhancements:**
## [0.0.3a1](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a1) (2023-10-14)

- Add GitHub Automation [\#3](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/3) ([NeonDaniel](https://github.com/NeonDaniel))
[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.2...0.0.3a1)

**Merged pull requests:**

- Add Gradio UI with example audio [\#2](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/2) ([NeonDaniel](https://github.com/NeonDaniel))
- log level error [\#17](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/17) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
Loading

0 comments on commit 26096e6

Please sign in to comment.