From b336e820f9e69c69d05eca1a5d0184e9a5897bc5 Mon Sep 17 00:00:00 2001 From: Reza Behzadan Date: Sun, 31 Mar 2024 12:54:14 +0330 Subject: [PATCH] Change repo branch: master -> main --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index db74299..5418bfa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,7 @@ pipeline { def createReleaseResponse = sh(script: """ curl -s -X POST -H "Content-Type: application/json" -H "Authorization: token ${GITEA_API_TOKEN}" \\ - -d '{ "tag_name": "${tagName}", "target_commitish": "master", "name": "${releaseTitle}", "body": "${releaseDescription}", "draft": false, "prerelease": false }' \\ + -d '{ "tag_name": "${tagName}", "target_commitish": "main", "name": "${releaseTitle}", "body": "${releaseDescription}", "draft": false, "prerelease": false }' \\ "https://git.behzadan.ir/api/v1/repos/${repoOwner}/${repoName}/releases" """, returnStdout: true).trim()