Skip to content

Commit 0945558

Browse files
authored
Bump dora v0.3.9 (#770)
Release a new version with all latest additions
2 parents 074908c + b7e4f3e commit 0945558

File tree

38 files changed

+4632
-137
lines changed

38 files changed

+4632
-137
lines changed

.github/workflows/node-hub-ci-cd.yml

+17-15
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
sudo apt-get install portaudio19-dev
5555
5656
- name: Install system-level dependencies for MacOS
57-
if: runner.os == 'Mac' || github.event_name == 'workflow_dispatch' || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/'))
57+
if: runner.os == 'MacOS' && (github.event_name == 'workflow_dispatch' || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')))
5858
run: |
5959
brew install portaudio
6060
@@ -184,21 +184,23 @@ jobs:
184184
maturin publish --skip-existing
185185
fi
186186
else
187-
if [ -f "pyproject.toml" ]; then
188-
echo "Publishing $dir using UV..."
189-
uv build
190-
uv publish
191-
fi
187+
if [[ "${{ runner.os }}" == "Linux" ]]; then
188+
if [ -f "pyproject.toml" ]; then
189+
echo "Publishing $dir using UV..."
190+
uv build
191+
uv publish --check-url https://pypi.org/simple
192+
fi
192193
193-
if [ -f "Cargo.toml" ]; then
194-
echo "Publishing $dir using Cargo..."
195-
package_name=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[0].name')
196-
version=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[0].version')
197-
if cargo search "$package_name" | grep -q "^$package_name = \"$version\""; then
198-
echo "Package '$package_name' version '$version' already exists on crates.io. Skipping publish."
199-
else
200-
echo "Publishing package '$package_name' version '$version'..."
201-
cargo publish
194+
if [ -f "Cargo.toml" ]; then
195+
echo "Publishing $dir using Cargo..."
196+
package_name=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[0].name')
197+
version=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[0].version')
198+
if cargo search "$package_name" | grep -q "^$package_name = \"$version\""; then
199+
echo "Package '$package_name' version '$version' already exists on crates.io. Skipping publish."
200+
else
201+
echo "Publishing package '$package_name' version '$version'..."
202+
cargo publish
203+
fi
202204
fi
203205
fi
204206
fi

.github/workflows/pip-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ jobs:
238238
if: github.event_name == 'release'
239239
uses: actions/upload-artifact@v4
240240
with:
241-
name: wheels
241+
name: ${{ matrix.repository.name }}-sdist
242242
path: ${{ matrix.repository.path }}/dist
243243

244244
release:

0 commit comments

Comments
 (0)