Skip to content

Commit 690b3ee

Browse files
committed
chore(release) Call just publish with a list of wheels.
1 parent 0b5594d commit 690b3ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
export PATH="$HOME/.cargo/bin:$PATH"
216216
export PATH="$HOME/.pyenv/versions/$(cat .python-version)/bin:$PATH"
217217
if test -d .env/bin/; then source .env/bin/activate; else source .env/Scripts/activate; fi
218-
just publish
218+
just publish $(cat ${{ steps.create_wheels.outputs.assets_file }} | cut -f 1)
219219
220220
release-any:
221221
name: Release any wheels

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ doc:
9898
#wasmer_compiler_llvm \
9999
wasmer_compiler_singlepass
100100

101-
publish:
102-
twine upload --repository pypi target/wheels/wasmer*.whl -u wasmer
101+
publish +WHEELS:
102+
twine upload --username wasmer --repository pypi {{WHEELS}}
103103

104104
publish-any:
105-
twine upload --repository pypi target/wheels/wasmer-*-py3-none-any.whl -u wasmer
105+
twine upload --username wasmer --repository pypi target/wheels/wasmer-*-py3-none-any.whl
106106

107107
# Compile a Rust program to Wasm.
108108
compile-wasm FILE='examples/simple':

0 commit comments

Comments
 (0)