Commit ·
cd5483d
1
Parent(s): 9baa99b
revert(scripts): revert py to python for ubuntu CI
Browse files- scripts/release.sh +3 -3
scripts/release.sh
CHANGED
|
@@ -12,12 +12,12 @@ if [[ -n $(git status --porcelain) ]]; then
|
|
| 12 |
fi
|
| 13 |
|
| 14 |
# ensure deps
|
| 15 |
-
|
| 16 |
pre-commit run --all-files
|
| 17 |
pytest -q
|
| 18 |
|
| 19 |
# generate release notes preview from CHANGELOG
|
| 20 |
-
|
| 21 |
if [[ -f release_notes.md ]]; then
|
| 22 |
echo "--- release_notes.md (preview top 60 lines) ---"
|
| 23 |
head -n 60 release_notes.md || true
|
|
@@ -33,4 +33,4 @@ git tag -a "$TAG" -m "Release $TAG"
|
|
| 33 |
git push origin "$TAG"
|
| 34 |
|
| 35 |
echo "✅ Pushed tag $TAG. GitHub Actions will create the Release automatically."
|
| 36 |
-
echo "➡️ Watch: https://github.com/Flamehaven/CRoM-EfficientLLM/actions"
|
|
|
|
| 12 |
fi
|
| 13 |
|
| 14 |
# ensure deps
|
| 15 |
+
python -m pip install -e .[dev]
|
| 16 |
pre-commit run --all-files
|
| 17 |
pytest -q
|
| 18 |
|
| 19 |
# generate release notes preview from CHANGELOG
|
| 20 |
+
python scripts/gen_release_notes.py "$TAG"
|
| 21 |
if [[ -f release_notes.md ]]; then
|
| 22 |
echo "--- release_notes.md (preview top 60 lines) ---"
|
| 23 |
head -n 60 release_notes.md || true
|
|
|
|
| 33 |
git push origin "$TAG"
|
| 34 |
|
| 35 |
echo "✅ Pushed tag $TAG. GitHub Actions will create the Release automatically."
|
| 36 |
+
echo "➡️ Watch: https://github.com/Flamehaven/CRoM-EfficientLLM/actions"
|