diff options
Diffstat (limited to 'collections-debian-merged/build-ansible.sh')
-rwxr-xr-x | collections-debian-merged/build-ansible.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/collections-debian-merged/build-ansible.sh b/collections-debian-merged/build-ansible.sh new file mode 100755 index 00000000..47a0af59 --- /dev/null +++ b/collections-debian-merged/build-ansible.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +VERSION="2.10.7" +MAJOR_MINOR="2.10" + +pip install --user --upgrade antsibull +git clone git@github.com:ansible-community/ansible-build-data +mkdir built +BUILD_DATA_DIR="ansible-build-data/${MAJOR_MINOR}" +if test -e "${BUILD_DATA_DIR}/ansible-${MAJOR_MINOR}.build" ; then + BUILDFILE="ansible-${MAJOR_MINOR}.build" + DEPSFILE="ansible-${VERSION}.deps" +else + BUILDFILE="acd-${MAJOR_MINOR}.build" + DEPSFILE="acd-${VERSION}.deps" +fi +antsibull-build rebuild-single "${VERSION}" --data-dir "${BUILD_DATA_DIR}" --build-file "${BUILDFILE}" --deps-file "${DEPSFILE}" --sdist-dir built --debian + +#pip install twine +#twine upload "built/ansible-${VERSION}.tar.gz"
\ No newline at end of file |