Skip to content

Commit

Permalink
update scripts/version and scripts/version-core to run from scripts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 28, 2024
1 parent b8eadc9 commit 866f0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/version
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

sourceDir=$(dirname $(dirname "$0"))
sourceDir=$(dirname "$0")/..
gitDir="$sourceDir/.git"

if [ -d "$gitDir" ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/version-core
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

sourceDir=$(dirname $(dirname "$0"))
sourceDir=$(dirname "$0")/..

while read -r line; do
if [[ $line = VERSION* ]]; then
Expand Down

0 comments on commit 866f0f5

Please sign in to comment.