Explorar el Código

Add publish script

Jethro Beekman hace 7 años
padre
commit
0ad4c19f7e
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      publish.sh

+ 6 - 0
publish.sh

@@ -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