Changelog: remove a "XXX" in the 3.9.1 entry.
[tails.git] / bin / add-APT-overlay
blob455087254f7233dc4e972dcb4ee97c8c0b355d64
1 #!/bin/bash
3 set -e
4 set -u
5 set -x
7 GIT_TOPLEVEL_DIR=$(git rev-parse --show-toplevel)
8 . "$GIT_TOPLEVEL_DIR"/auto/scripts/utils.sh
10 OVERLAY=$(branch_name_to_suite $(git_current_branch))
11 OVERLAY_FILE="${GIT_TOPLEVEL_DIR}/config/APT_overlays.d/${OVERLAY}"
12 TICKET=$(git_current_branch | perl -p -E 's/.*?(\d{4,6}).*/$1/')
14 touch "${OVERLAY_FILE}"
15 git add "${OVERLAY_FILE}"
16 git commit -m "Enable the ${OVERLAY} APT overlay (refs: #${TICKET})."
17 git show