6 # -o pipefail: Fail on errors in scripts this calls, give stacktrace
9 # Install required packages
11 # shellcheck disable=SC1091
12 source rpm_build/bin/activate
13 PYTHON="rpm_build/bin/python"
14 $PYTHON -m pip install --upgrade pip
15 $PYTHON -m pip install -r "$WORKSPACE/packaging/rpm/requirements.txt"
17 # Build the latest snapshot matching the given major minor version
18 "$WORKSPACE/packaging/rpm/build.py" --build-latest-snap \
19 --major "$VERSION_MAJOR" \
20 --minor "$VERSION_MINOR" \
21 --changelog_name "$CHANGELOG_NAME" \
22 --changelog_email "$CHANGELOG_EMAIL"