forked from abdul124/rust-core_io
Add publish script
This commit is contained in:
parent
58e2337cf1
commit
0ad4c19f7e
6
publish.sh
Executable file
6
publish.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
OLD_GIT_PERM=$(stat --printf=%a .git)
|
||||
trap "chmod $OLD_GIT_PERM .git; exit 1" SIGINT
|
||||
chmod 000 .git
|
||||
cargo publish
|
||||
chmod $OLD_GIT_PERM .git
|
Loading…
Reference in New Issue
Block a user