diff --git a/Readme.md b/Readme.md index 506be3e..2dac592 100644 --- a/Readme.md +++ b/Readme.md @@ -301,6 +301,9 @@ You can get securely in touch with me [here](http://contact.nicohood.de). My GPG ## Version History ``` +1.3.3 (31.10.2018) +* Create parent directories if not existant. + 1.3.2 (15.04.2018) * Change directory to git root path, so "git archive" is working properly diff --git a/gpgit.sh b/gpgit.sh index ec184cd..b165c69 100755 --- a/gpgit.sh +++ b/gpgit.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERSION="1.3.2" +VERSION="1.3.3" # Avoid any encoding problems export LANG=C @@ -486,7 +486,7 @@ msg "4. Create a signed release archive" if [[ ! -d "${OUTPUT}" ]]; then plain "Creating not existing output directory: '${OUTPUT}'." interactive - mkdir "${OUTPUT}" + mkdir -p "${OUTPUT}" fi # Create new archive