remove changeset

This commit is contained in:
Devin Zuczek
2026-06-30 00:33:17 -04:00
parent 2f4eaaa6b3
commit 7536fcdf4f
8 changed files with 0 additions and 785 deletions
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
set -eu
repo_root=$(git rev-parse --show-toplevel)
cd "$repo_root"
# Stage changes so that changeset can see them
git add .
changeset
# Make sure a changeset was created
if ! git status --porcelain | grep '.changeset/.*\.md' >/dev/null; then
echo "🚨 No changeset created"
exit 1
fi
new_changeset=$(find .changeset -name "*.md" -type f -exec ls -t {} + | head -n 1)
echo "📝 New changeset: $new_changeset"
git add "$new_changeset"