mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-05-18 15:02:47 +00:00
chore: sync repo
This commit is contained in:
parent
817f1a0816
commit
9b3134a27e
161 changed files with 1 additions and 20065 deletions
|
|
@ -1,21 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
errors=()
|
||||
|
||||
if [ -z "${PYPI_TOKEN}" ]; then
|
||||
errors+=("The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
|
||||
fi
|
||||
|
||||
lenErrors=${#errors[@]}
|
||||
|
||||
if [[ lenErrors -gt 0 ]]; then
|
||||
echo -e "Found the following errors in the release environment:\n"
|
||||
|
||||
for error in "${errors[@]}"; do
|
||||
echo -e "- $error\n"
|
||||
done
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "The environment is ready to push releases!"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
mkdir -p dist
|
||||
rye build --clean
|
||||
rye publish --yes --token=$PYPI_TOKEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue