Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ function fetch_package_to_test() {
git -C "$package_path" rev-parse HEAD > "$TEST_CONTEXT/commit"
git -C "$package_path" show --no-patch --format=%ct HEAD > "$TEST_CONTEXT/commit_timestamp"

grep "^\s*version\s*=" "$package_path/manifest.toml" | cut -d= -f2 | tr -d '" ' > "$TEST_CONTEXT/app_version"
python3 -c "import sys; import toml; f = open(sys.argv[1], 'r'); print(toml.load(f)['version'])" \
"$package_path/manifest.toml" > "$TEST_CONTEXT/app_version"

# Check if the package directory is really here.
if [ ! -d "$package_path" ]; then
Expand Down