Make the ExperimentalProtocol option obsolete.
[tinc] / .ci / package / build.sh
1 #!/bin/sh
2
3 set -eu
4
5 build_linux() {
6   . /etc/os-release
7
8   # https://github.com/actions/checkout/issues/760
9   git config --global --add safe.directory "$PWD" || true
10   GIT_CEILING_DIRECTORIES=$PWD
11   export GIT_CEILING_DIRECTORIES
12
13   case "$ID" in
14   debian | ubuntu)
15     bash .ci/package/deb/build.sh
16     ;;
17   almalinux | centos | fedora)
18     bash .ci/package/rpm/build.sh
19     ;;
20   esac
21 }
22
23 case "$(uname -s)" in
24 Linux)
25   build_linux
26   ;;
27 MINGW*)
28   bash .ci/package/win/build.sh
29   ;;
30 esac