Skip to content

Commit

Permalink
Clean source code directory before building
Browse files Browse the repository at this point in the history
to get around the "Not a git repository" issue that occasionally occurs
  • Loading branch information
abitmore committed Jun 14, 2020
1 parent 58d0a67 commit 8353b2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion run-gitian
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ _EOL_
done
fi

[ -z "$BUILD" ] || gbuild "../../descriptors/bitshares-core-$OS.yml" -c bitshares="$VERSION" "$@"
[ -z "$BUILD" ] || (
rm -rf inputs/bitshares
gbuild "../../descriptors/bitshares-core-$OS.yml" -c bitshares="$VERSION" "$@"
)
[ -z "$SIGN" ] || gsign --signer "$KEY_ID" --destination ../../signatures --release "$VERSION"-"$OS" \
"../../descriptors/bitshares-core-$OS.yml"
[ -z "$VERIFY" ] || gverify --destination ../../signatures --release "$VERSION"-"$OS" \
Expand Down

0 comments on commit 8353b2f

Please sign in to comment.