blob: 47a0af59b3bf4bf6ebeeca0d6c7d0b5a8b8d9ad3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
|