Skip to content

Commit

Permalink
Account for 23-main in tarball directories
Browse files Browse the repository at this point in the history
  • Loading branch information
timtheisen committed Nov 16, 2023
1 parent 0bb8c4b commit f7b7929
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions upload-tarballs-to-oasis
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ main() {

local version=$1
local major_version=${version%.*}
if [[ $major_version != 3.6 ]];then
major_version="$major_version-main"
fi
local release
if [[ -z $2 ]]; then
message "Release not specified; assuming release is '1'"
Expand Down Expand Up @@ -72,6 +75,9 @@ local_tarball_path() {
local arch=$4

local major_version=${version%.*}
if [[ $major_version != 3.6 ]];then
major_version="$major_version-main"
fi
echo $TARBALL_CLIENT_DIR/$major_version/$arch/osg-wn-client-$version-$release.$dver.$arch.tar.gz
}

Expand Down Expand Up @@ -187,10 +193,10 @@ foreach_dver_arch() {
local all_ret=0

case $major_version in
3.4) dver_arches=({el6,el7}.x86_64);;
3.5) dver_arches=({el7,el8}.x86_64);;
3.6) dver_arches=({el7,el8,el9}.x86_64);;
23) dver_arches=({el8,el9}.x86_64);;
3.4) dver_arches=({el6,el7}.x86_64);;
3.5) dver_arches=({el7,el8}.x86_64);;
3.6) dver_arches=({el7,el8,el9}.x86_64);;
23-main) dver_arches=({el8,el9}.x86_64);;
esac

for dver_arch in ${dver_arches[@]}; do
Expand Down

0 comments on commit f7b7929

Please sign in to comment.