summaryrefslogtreecommitdiffstats
path: root/auto/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'auto/scripts')
-rwxr-xr-xauto/scripts/tails-custom-apt-sources3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/scripts/tails-custom-apt-sources b/auto/scripts/tails-custom-apt-sources
index 5e37c28..e8d0105 100755
--- a/auto/scripts/tails-custom-apt-sources
+++ b/auto/scripts/tails-custom-apt-sources
@@ -14,6 +14,7 @@ git_tag_exists() {
version_was_released() {
local version="$1"
+ version="$(echo "$version" | tr '~' '-')"
git_tag_exists "$version"
}
@@ -44,7 +45,7 @@ branch_name_to_suite() {
if version_was_released "$(version_in_changelog)"; then
- output_apt_binary_source "$(version_in_changelog)"
+ output_apt_binary_source "$(branch_name_to_suite "$(version_in_changelog)")"
elif [ "$(current_branch)" = "testing" ]; then
output_apt_binary_source testing
elif [ "$(current_branch)" = "experimental" ]; then