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