Skip to content

Commit

Permalink
unique release
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Jun 2, 2021
1 parent cda52b4 commit 11e1094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ pipeline {
withCredentials([string(credentialsId: '11f06c51-2f47-43be-aef4-3e4449be5cf0', variable: 'GITHUB_TOKEN')]) {
unstash name: 'stars-exe'
sh "go get github.com/github-release/github-release"
echo "Deleting release from github before creating new one"
sh "github-release delete --user ${env.GITHUB_ORGANIZATION} --repo ${env.GITHUB_REPO} --tag ${env.VERSION_TOOL}"
// echo "Deleting release from github before creating new one"
// sh "github-release delete --user ${env.GITHUB_ORGANIZATION} --repo ${env.GITHUB_REPO} --tag ${env.VERSION_TOOL}"

echo "Creating a new release in github"
sh "github-release release --user ${env.GITHUB_ORGANIZATION} --repo ${env.GITHUB_REPO} --tag ${env.VERSION_TOOL} --name v${env.VERSION_TOOL}"
Expand Down

0 comments on commit 11e1094

Please sign in to comment.