Skip to content

Commit

Permalink
Merge pull request #432 from imperva/cpapke/upgrade-allow-date-suffix
Browse files Browse the repository at this point in the history
allow date suffixes in upgrade script
  • Loading branch information
jsonar-cpapke authored Aug 22, 2024
2 parents 72295fe + 58c5794 commit 28a1057
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 any date suffix
echo "Version: $VERSION"

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

0 comments on commit 28a1057

Please sign in to comment.