Skip to content
Snippets Groups Projects
Commit e4cf3967 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Fix cicd package registration

parent 8ea693bc
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,15 @@ register package:
);
'
# Remove credentials from Package.toml files
- find /tmp/registry -name 'Package.toml' -exec sed -i 's|https://.*@|https://|g' {} \;
# Stage and commit sanitized changes
- |
cd /tmp/registry
git add .
git commit -m "Sanitize Package.toml: Remove secrets from repo field"
# Push changes to the registry
- |
cd /tmp/registry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment