Skip to content

Commit 30851cb

Browse files
authored
Update Jenkinsfile
1 parent 4c23fe2 commit 30851cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ node {
3838
}
3939

4040
stage('Create new release') {
41-
sh 'sudo yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo'
42-
sh 'sudo yum install gh -y'
41+
sh 'sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo'
42+
sh 'sudo dnf install gh'
4343
withCredentials([string(credentialsId: 'gh_token', variable: 'GH_TOKEN')]) {
4444
sh "gh release create ${versionTag} --generate-notes"
4545
}

0 commit comments

Comments
 (0)