1

build(ci): fix: безопасность

This commit is contained in:
2025-08-18 12:19:55 +03:00
parent ef20c04e92
commit 7626f42cd5

View File

@@ -34,13 +34,13 @@ pipeline {
}
"""
sh(script: """
sh(script: '''
curl -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d '${releaseData}' \
"${GITEA_API_URL}/repos/${GITEA_REPO_OWNER}/${GITEA_REPO_NAME}/releases"
""", returnStdout: true).trim()
''', returnStdout: true).trim()
}
}
}