Skip to content

Commit

Permalink
Avoid creating the release on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Jul 4, 2023
1 parent 74153b9 commit 0c4075a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ def createTagAndRelease() {
sh """#!/bin/bash
git tag $releaseTag
git push "https://$GITHUB_ACCESS_TOKEN@github.com/jfrog/jfrog-cli.git" --tags
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_ACCESS_TOKEN"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/jfrog/jfrog-cli/releases \
-d '{"tag_name":"$releaseTag","target_commitish":"$BRANCH","name":"$RELEASE_VERSION","generate_release_notes":true}'
"""
}
}
Expand Down

0 comments on commit 0c4075a

Please sign in to comment.