Skip to content

Add API to get version information #2309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
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
6 changes: 5 additions & 1 deletion .github/scripts/test-dot-net.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

cd dotnet-examples/

cd ./speech-enhancement-gtcrn
cd ./version-test
./run.sh
ls -lh

cd ../speech-enhancement-gtcrn
./run.sh
ls -lh

Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/test-swift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ echo "pwd: $PWD"
cd swift-api-examples
ls -lh

./run-test-version.sh

./run-decode-file-sense-voice-with-hr.sh
rm -rf sherpa-onnx-sense-voice-*
rm -rf dict lexicon.txt replace.fst test-hr.wav
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/aarch64-linux-gnu-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: Build sherpa-onnx
if: matrix.gpu == 'ON'
shell: bash
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/aarch64-linux-gnu-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: Build sherpa-onnx
uses: addnab/docker-run-action@v3
with:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/android-rknn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
with:
key: ${{ matrix.os }}-android-rknn

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: Display NDK HOME
shell: bash
run: |
Expand Down Expand Up @@ -158,6 +164,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/android-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down Expand Up @@ -190,6 +196,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down Expand Up @@ -184,6 +190,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-asr-2pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-asr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-audio-tagging-wearos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-audio-tagging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-kws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-speaker-diarization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-speaker-identification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-spoken-language-identification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-tts-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-tts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-vad-asr-simulated-streaming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-vad-asr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/apk-vad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# https://github.com/actions/setup-java
- uses: actions/setup-java@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/arm-linux-gnueabihf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/as_cmake_sub_project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-wheels-aarch64-cuda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
- name: Build wheels
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-wheels-aarch64-rknn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
with:
fetch-depth: 0

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-wheels-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
- name: Build wheels
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-wheels-armv7l.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-wheels-linux-cuda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-wheels-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update version
shell: bash
run: |
./new-release.sh
git diff .

# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
- name: Build wheels
Expand Down
Loading
Loading