[nobump] Version bump script update
Publish plugin / publish (push) Successful in 29s

This commit is contained in:
lyuksovannyy committed 2026-09-19 17:28:51 +02:00
1 parent 5e7f722bd9
commit e01dc843b2
2 files changed
+235 -96

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# Companion to scripts/pre-commit.
#
# `git commit -- <pathspec>` (also how some IDEs commit a file selection) builds
# the commit from a temporary index. The pre-commit bump therefore lands in the
# commit, but the real index keeps the pre-bump blob and plugin.json is left
# looking modified. The real index cannot be updated during the commit because
# git holds index.lock, so refresh it here instead.
#
# Must never fail a commit that already succeeded.
git add -- plugin.json 2>/dev/null || true
exit 0