We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e577b36 + 8ff2786 commit cd2ecc6Copy full SHA for cd2ecc6
2 files changed
ci/build_artifacts_for_upload.sh
@@ -21,7 +21,7 @@ BRANCH_NAME=$(git branch --show-current)
21
SCRIPT_VERSION=$(cat "$ROOT_DIR/VERSION")
22
23
echo "Copying debian to artifacts"
24
-./build_deb.sh
+"$ROOT_DIR/ci/build_deb.sh"
25
26
echo "Copying script to artifacts"
27
cp "$ROOT_DIR/casper-node-util/usr/bin/casper-node-util" "$ARTIFACTS_DIR/casper-node-util"
ci/build_deb.sh
@@ -1,5 +1,5 @@
1
#!/usr/bin/env bash
2
3
-cd ..
4
-mkdir -p artifacts
5
-dpkg-deb --build casper-node-util "./artifacts/casper-node-util-$(cat VERSION).deb"
+ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null 2>&1 && pwd)"
+mkdir -p "$ROOT_DIR/artifacts"
+dpkg-deb --build casper-node-util "$ROOT_DIR/artifacts/casper-node-util-$(cat VERSION).deb"
0 commit comments