Skip to content

Commit a088e4c

Browse files
committed
Clean source code directory before building
to get around the "Not a git repository" issue that occasionally occurs
1 parent 58d0a67 commit a088e4c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-gitian

+4-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ _EOL_
136136
done
137137
fi
138138

139-
[ -z "$BUILD" ] || gbuild "../../descriptors/bitshares-core-$OS.yml" -c bitshares="$VERSION" "$@"
139+
[ -z "$BUILD" ] || (
140+
rm -rf vendor/gitian-builder/inputs/bitshares
141+
gbuild "../../descriptors/bitshares-core-$OS.yml" -c bitshares="$VERSION" "$@"
142+
)
140143
[ -z "$SIGN" ] || gsign --signer "$KEY_ID" --destination ../../signatures --release "$VERSION"-"$OS" \
141144
"../../descriptors/bitshares-core-$OS.yml"
142145
[ -z "$VERIFY" ] || gverify --destination ../../signatures --release "$VERSION"-"$OS" \

0 commit comments

Comments
 (0)