Commit 550f524
fix(scripts): anchor ver.sh working directory to script location
Add `cd "$(dirname "$0")"` so both invocation paths work correctly:
- Direct: `./ver.sh` from repo root
- Via Gradle: `./gradlew version` (runs from framework/ directory)
Without this, the Gradle invocation resolves versionPath to
framework/framework/src/... which does not exist.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e7cd7d7 commit 550f524
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments