Skip to content

Commit 6d6d7e0

Browse files
committed
Checksum directly without changing dirs
1 parent a320a12 commit 6d6d7e0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ci/before_deploy.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ package() {
77
fi
88

99
cp -f target/$TARGET/release/$BIN_NAME bin/$BIN_NAME_TAG
10-
cd bin || return 1
11-
sha256sum "$BIN_NAME_TAG" | tee "$BIN_NAME_TAG.sha256"
12-
cd -
10+
sha256sum "bin/$BIN_NAME_TAG" | tee "bin/$BIN_NAME_TAG.sha256"
1311
}
1412

1513
release_tag() {

0 commit comments

Comments
 (0)