diff --git a/build.sh b/build.sh index 5a993223..834365d9 100755 --- a/build.sh +++ b/build.sh @@ -21,10 +21,15 @@ for sch in $PROJECT/rules/sch/*.sch; do docker run --rm -i -v $PROJECT:/src -v $PROJECT/target/schematron:/target klakegg/schematron prepare /src/rules/sch/$(basename $sch) /target/$(basename $sch) done +# Show permissions +ls -Rla # Fix ownership docker run --rm -i -v $PROJECT:/src alpine:3.6 chown -R $(id -g $USER).$(id -g $USER) /src/target -rm -rf $PROJECT/target/site/files/PEPPOLBIS-Upgrade-Schematron.zip +# Show permissions +ls -Rla + +sudo rm -rf $PROJECT/target/site/files/PEPPOLBIS-Upgrade-Schematron.zip zip -r $PROJECT/target/site/files/PEPPOLBIS-Upgrade-Schematron.zip target/schematron # Example files