Skip to content

Commit

Permalink
Merge pull request #89 from memphisdev/master
Browse files Browse the repository at this point in the history
Update Jenkinsfile
  • Loading branch information
valeraBr authored Nov 26, 2023
2 parents 06e59d0 + 0f6e2b5 commit 7094cf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ node {
}

stage('Create new release') {
sh 'sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo'
sh 'sudo dnf install gh'
sh 'sudo yum install jq -y'
sh 'sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo -y'
sh 'sudo dnf install gh -y'
sh 'sudo dnf install jq -y'
withCredentials([string(credentialsId: 'gh_token', variable: 'GH_TOKEN')]) {
sh(script:"""gh release create v\$(cat version.conf) --generate-notes --target latest""", returnStdout: true)
}
Expand Down

0 comments on commit 7094cf1

Please sign in to comment.