We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fddfc9 commit fefe69eCopy full SHA for fefe69e
scripts/ingest-tarball.sh
@@ -81,7 +81,7 @@ function check_version() {
81
fi
82
83
# 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._-]+//')
+ unsuffixed_tar_top_level_dir=$(echo ${tar_top_level_dir} | sed -E 's/-[0-9A-Za-z._-]+$//')
85
86
# Check if the version encoded in the filename matches the unsuffixed top-level dir inside the tarball
87
if [ "${version}" != "${unsuffixed_tar_top_level_dir}" ]
0 commit comments