diff --git a/.build/create-release.sh b/.build/create-release.sh index 152825e..74a94a8 100755 --- a/.build/create-release.sh +++ b/.build/create-release.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash set -e -. "$(dirname "$0")/tools/functions/parse-version.sh.inc" export PATH="$PICO_TOOLS_DIR:$PATH" +. "$PICO_TOOLS_DIR/functions/parse-version.sh.inc" # parameters ARCHIVE="$1" # release archive file name diff --git a/.build/deploy-release.sh b/.build/deploy-release.sh index d2a61a1..137d92e 100755 --- a/.build/deploy-release.sh +++ b/.build/deploy-release.sh @@ -31,8 +31,8 @@ if [ "$DEPLOY_FULL" != "true" ]; then echo fi -. "$(dirname "$0")/tools/functions/parse-version.sh.inc" export PATH="$PICO_TOOLS_DIR:$PATH" +. "$PICO_TOOLS_DIR/functions/parse-version.sh.inc" # parse version if ! parse_version "$PROJECT_REPO_TAG"; then