summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/build-ansible.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:01 +0000
commita453ac31f3428614cceb99027f8efbdb9258a40b (patch)
treef61f87408f32a8511cbd91799f9cececb53e0374 /collections-debian-merged/build-ansible.sh
parentInitial commit. (diff)
downloadansible-a453ac31f3428614cceb99027f8efbdb9258a40b.tar.xz
ansible-a453ac31f3428614cceb99027f8efbdb9258a40b.zip
Adding upstream version 2.10.7+merged+base+2.10.8+dfsg.upstream/2.10.7+merged+base+2.10.8+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collections-debian-merged/build-ansible.sh')
-rwxr-xr-xcollections-debian-merged/build-ansible.sh20
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