summaryrefslogtreecommitdiffstats
path: root/tools/update-version.sh
blob: a2270233fc1f1a7325df71ac04ebb221fe6fa5f3 (plain)
1
2
3
4
5
6
7
#!/bin/bash
DIR=$(dirname "$0")
VERSION=$(./tools/get-version.sh)
mkdir -p "${DIR}/../dist"
sed -e "s/VERSION_PLACEHOLDER/${VERSION}/" \
    "${DIR}/../dist/python-ansible-compat.spec.in" \
    > "${DIR}/../dist/python-ansible-compat.spec"