Skip to content

Commit

Permalink
coredump: fix inspect failure for tarantool-ee coredumps
Browse files Browse the repository at this point in the history
Closes #1062
  • Loading branch information
elhimov authored and dmyger committed Dec 14, 2024
1 parent 2003f96 commit 7843c78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

- `tt coredump inspect`: fails for tarantool-ee coredump archive if the source
directory is missing.

## [2.6.0] - 2024-11-29

The release introduces `upgrade` and `downgrade` subcommands for
Expand Down
2 changes: 1 addition & 1 deletion cli/coredump/scripts/gdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ SOURCES=${SOURCES:-${WORKDIR}/sources}
# the wrapper more complex by additional checks, so this activity
# is left for the user.
if [ ! -d "${SOURCES}" ]; then
REGEX='Tarantool \d+\.\d+\.\d+(-(alpha|beta|rc)[0-9]+|(-entrypoint))?-\d+-g\K[a-f0-9]+'
REGEX='Tarantool( Enterprise)? \d+\.\d+\.\d+(-(alpha|beta|rc)[0-9]+|(-entrypoint))?-\d+-g\K[a-f0-9]+'
REVISION=$(grep -oP "$REGEX" "$VERSION")
cat <<SOURCES
================================================================================
Expand Down

0 comments on commit 7843c78

Please sign in to comment.