Skip to content

Commit e0a6ff3

Browse files
authored
Merge pull request #129 from aml-org/fix-release-error
Add fix for publishing error with safe directories
2 parents b71a53e + d0e75e7 commit e0a6ff3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ pipeline {
136136
IS_SNAPSHOT=true
137137
fi
138138
139+
# Add safe directory exception
140+
git config --global --add safe.directory /src
141+
139142
# Login
140143
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> ~/.npmrc
141144
echo @aml-org:registry=https://registry.npmjs.org/ >> ~/.npmrc

0 commit comments

Comments
 (0)