Skip to content

Commit cd2ecc6

Browse files
authored
Merge pull request #7 from sacherjj/correcting-ci-script-paths
Correcting script pathing.
2 parents e577b36 + 8ff2786 commit cd2ecc6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ci/build_artifacts_for_upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ BRANCH_NAME=$(git branch --show-current)
2121
SCRIPT_VERSION=$(cat "$ROOT_DIR/VERSION")
2222

2323
echo "Copying debian to artifacts"
24-
./build_deb.sh
24+
"$ROOT_DIR/ci/build_deb.sh"
2525

2626
echo "Copying script to artifacts"
2727
cp "$ROOT_DIR/casper-node-util/usr/bin/casper-node-util" "$ARTIFACTS_DIR/casper-node-util"

ci/build_deb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

3-
cd ..
4-
mkdir -p artifacts
5-
dpkg-deb --build casper-node-util "./artifacts/casper-node-util-$(cat VERSION).deb"
3+
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null 2>&1 && pwd)"
4+
mkdir -p "$ROOT_DIR/artifacts"
5+
dpkg-deb --build casper-node-util "$ROOT_DIR/artifacts/casper-node-util-$(cat VERSION).deb"

0 commit comments

Comments
 (0)