Skip to content

Commit

Permalink
build-rpms: Remove unused CENTOS_VERSION variable
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopcs9 authored and obnoxxx committed Oct 29, 2024
1 parent dcd325c commit 088fab9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion jobs/nightly-samba-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
- shell: !include-raw-escape: scripts/common/scp.sh
- shell: |
#!/bin/bash
jobs/scripts/common/bootstrap.sh $WORKSPACE/jobs/scripts/nightly-samba-builds/nightly-samba-builds.sh "ghprbPullId=$ghprbPullId ghprbTargetBranch=$ghprbTargetBranch CENTOS_VERSION=$CENTOS_VERSION OS_VERSION=$OS_VERSION SAMBA_BRANCH=$SAMBA_BRANCH"
jobs/scripts/common/bootstrap.sh $WORKSPACE/jobs/scripts/nightly-samba-builds/nightly-samba-builds.sh "ghprbPullId=$ghprbPullId ghprbTargetBranch=$ghprbTargetBranch OS_VERSION=$OS_VERSION SAMBA_BRANCH=$SAMBA_BRANCH"
publishers:
- email-ext:
Expand Down
1 change: 0 additions & 1 deletion jobs/scripts/nightly-samba-builds/nightly-samba-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ BUILD_GIT_REPO="https://github.com/samba-in-kubernetes/samba-build"
BUILD_GIT_BRANCH="main"
SAMBA_BRANCH="${SAMBA_BRANCH:-master}"
SAMBA_MAJOR_VERS=$([ "${SAMBA_BRANCH}" != "master" ] && ( (tmp="${SAMBA_BRANCH//[a-zA-Z]}" && echo "${tmp//-/.}") | sed 's/.$//' ) || echo "${SAMBA_BRANCH}" )
CENTOS_VERSION="${CENTOS_VERSION//[!0-9]}"
PLATFORM="${OS_VERSION//[0-9]}"
VERSION="${OS_VERSION//[a-zA-Z]}"
CENTOS_ARCH='x86_64'
Expand Down

0 comments on commit 088fab9

Please sign in to comment.