Skip to content

Commit

Permalink
allow date suffixes in upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonar-cpapke committed Jul 30, 2024
1 parent 442fd7c commit 0543fb2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ TARBALL_FILE=$EXTRACTION_BASE_DIR/$TARBALL_FILE_NAME

VERSION="${TARBALL_FILE#*-}"
VERSION="${VERSION%.tar.gz}"
VERSION="${VERSION%_*}" # remove and date suffix
echo "Version: $VERSION"

EXTRACTION_DIR="${EXTRACTION_BASE_DIR}/jsonar/apps/${VERSION}"
Expand Down

0 comments on commit 0543fb2

Please sign in to comment.