Last active
December 3, 2019 12:18
-
-
Save tohuuuuu/55439fa78bba6a07af8a21d33c4949f6 to your computer and use it in GitHub Desktop.
Sign multiple jars using keystore / key passwords from env variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export storepass="mystorepassword" | |
| export keypass="mykeypassword" | |
| for i in ./*.jar; do jarsigner -storepass:env storepass -keypass:env keypass "$i" key_alias;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment