Skip to content

Commit fefe69e

Browse files
bedrogeboegel
andauthored
Update ingest-tarball.sh
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent 8fddfc9 commit fefe69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ingest-tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function check_version() {
8181
fi
8282

8383
# Cut off any suffix from the top-level directory name (which should correspond to the version)
84-
unsuffixed_tar_top_level_dir=$(echo ${tar_top_level_dir} | sed -E 's/-[0-9A-Za-z._-]+//')
84+
unsuffixed_tar_top_level_dir=$(echo ${tar_top_level_dir} | sed -E 's/-[0-9A-Za-z._-]+$//')
8585

8686
# Check if the version encoded in the filename matches the unsuffixed top-level dir inside the tarball
8787
if [ "${version}" != "${unsuffixed_tar_top_level_dir}" ]

0 commit comments

Comments
 (0)