Files
syn-chat-bot/.venv/lib/python3.9/site-packages/icalendar/tests/test_create_release.sh
Hyungi Ahn c2257d3a86 fix: 포트 충돌 회피 — note_bridge 8098, intent_service 8099
Jellyfin(8096), OrbStack(8097) 포트 충돌으로 변경.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 13:53:55 +09:00

33 lines
713 B
Bash
Executable File

#!/bin/sh
#
# Create a release file and test it.
#
set -e
cd "`dirname \"$0\"`"
cd "../../.."
rm -rf dist
pip3 install build
python3 -m build
archive=`echo dist/icalendar-*.tar.gz`
if ! [ -f "$archive" ]; then
echo "ERROR: Cannot find distribution archive '$archive'."
exit 1
fi
if tar -tf "$archive" | grep -q 'fuzzing/'; then
echo "ERROR: Fuzzing files are included in the release."
echo " See https://github.com/collective/icalendar/pull/569"
exit 1
fi
if ! tar -tf "$archive" | grep -q '/docs/'; then
echo "ERROR: The documentation is not included in the release, but should be."
echo " See https://github.com/collective/icalendar/issues/712"
exit 1
fi
echo "Checks passed."