Compare commits

..

No commits in common. "main" and "0.0.6" have entirely different histories.
main ... 0.0.6

1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -106,7 +106,7 @@ pipeline {
sh """
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \
-H "Content-Type: application/json" \
-d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "${prCommitHash}"}' \
-d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "main"}' \
"${env.GITEA_REPOSITORY_URL}deployer3000/${env.IMAGE_NAME}/releases"
"""
echo "New release succeeded!"