Skip to content
Snippets Groups Projects
Commit f286f809 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Merge branch 'pkg/fix-source-dubious-permissions' into 'master'

Fix git archival command failure due to unsafe permissions

See merge request nektar/nektar!1532
parents f306f612 7c009283
Branches
Tags v5.3.0
No related merge requests found
......@@ -258,6 +258,7 @@ package-source-archive-build:
script:
- VERSION=$(cat VERSION)
- mkdir -p src
- git config --global --add safe.directory $(pwd)
- git archive --format=tar --prefix=nektar-v${VERSION}/ --output=src/nektar++-${VERSION}.tar HEAD
- git archive --format=zip --prefix=nektar-v${VERSION}/ --output=src/nektar++-${VERSION}.zip HEAD
- cd src
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment