Skip to content

Commit 99c999f

Browse files
authored
Update Jenkinsfile (#135)
1 parent 7862578 commit 99c999f

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
@@ -19,8 +19,8 @@ node ("small-ec2-fleet") {
1919
sh """
2020
sudo yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
2121
sudo yum install gh -y
22-
sed -i -r "s/version=\'[0-9].[0-9].[0-9]/version=\'\$(cat version.conf)/g" setup.py
23-
sed -i -r "s/v[0-9].[0-9].[0-9]/v\$(cat version.conf)/g" setup.py
22+
sed -i -r "s/version=\\"[0-9].[0-9].[0-9]/version=\\"\$(cat version.conf)/g" setup.py
23+
sed -i -r "s/[0-9].[0-9].[0-9].tar.gz/\$(cat version.conf).tar.gz/g" setup.py
2424
"""
2525
withCredentials([sshUserPrivateKey(keyFileVariable:'check',credentialsId: 'main-github')]) {
2626
sh """

0 commit comments

Comments
 (0)