更新 .github/scripts/create-release.sh
This commit is contained in:
@@ -38,7 +38,7 @@ if [ -z "${RELEASE_ID}" ]; then
|
||||
fi
|
||||
echo "Release created with ID ${RELEASE_ID}"
|
||||
|
||||
for asset in dist/snapshot-*.whl dist/snapshot-*.tar.gz; do
|
||||
for asset in dist/*.whl dist/*.tar.gz; do
|
||||
if [ -f "${asset}" ]; then
|
||||
echo "Uploading ${asset}..."
|
||||
curl -fsS -X POST "${API_URL}/repos/${REPOSITORY}/releases/${RELEASE_ID}/assets" \
|
||||
|
||||
Reference in New Issue
Block a user