Skip to content
Snippets Groups Projects
Commit e0a721cd authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

some formatting

parent 19e0c985
Branches
No related tags found
3 merge requests!319update production,!311bump nixpkgs version,!305Automate updating nixpkgs pin in develop branch once a week
......@@ -65,6 +65,7 @@ git push --force origin "${TARGET_BRANCH}:${TARGET_BRANCH}"
BODY=$(python3 -c '
import os, sys, json
print("```")
print(json.dumps({
"id": os.environ["CI_PROJECT_ID"],
"source_branch": os.environ["CI_COMMIT_REF_NAME"],
......@@ -73,6 +74,7 @@ print(json.dumps({
"title": "bump nixpkgs version",
"description": sys.argv[1],
}))
print("```")
' "${DIFF}")
echo curl -X POST --data "${BODY}" --header "Content-Type: application/json" --header "PRIVATE-TOKEN: ${UPDATE_NIXPKGS_PRIVATE_TOKEN}" "https://${HOST}/api/v4/projects/${CI_PROJECT_ID}/merge_requests"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment