Skip to content

Commit

Permalink
Merge pull request #645 from jenkins-infra/fix_init-lts-line
Browse files Browse the repository at this point in the history
Fix init lts line script
  • Loading branch information
krisstern authored Jan 17, 2025
2 parents 762b131 + d868cd5 commit 0c63f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/init-lts-line
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ git clone [email protected]:jenkins-infra/release.git "$release_repo"
pushd "$release_repo"
git checkout -b "stable-${baseline}"

sed -i'' "s/PACKAGING_GIT_BRANCH = 'master'/PACKAGING_GIT_BRANCH = 'stable-${baseline}'/g" Jenkinsfile.d/core/package
sed -i'' -e "s/PACKAGING_GIT_BRANCH = 'master'/PACKAGING_GIT_BRANCH = 'stable-${baseline}'/g" Jenkinsfile.d/core/package

sed -i'' "s/RELEASE_GIT_BRANCH=master/RELEASE_GIT_BRANCH=stable-${baseline}/g" profile.d/stable
sed -i'' -e "s/RELEASE_GIT_BRANCH=master/RELEASE_GIT_BRANCH=stable-${baseline}/g" profile.d/stable
echo "JENKINS_VERSION=${baseline}.1" >> profile.d/stable

git add Jenkinsfile.d/core/package profile.d/stable
Expand Down

0 comments on commit 0c63f90

Please sign in to comment.