Skip to content

Commit

Permalink
bump version of indy plenum and added pypi versio to 3rd party artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: udosson <r.klemens@yahoo.de>
  • Loading branch information
udosson committed Nov 11, 2021
1 parent df23796 commit 5356219
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions build-scripts/ubuntu-2004/build-3rd-parties.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ function build_from_pypi {

if [ -z "$2" ]; then
PACKAGE_VERSION=""
# Get the most recent package version from PyPI to be included in the package name of the Debian artifact
curl -X GET "https://pypi.org/pypi/${PACKAGE_NAME}/json" > "${PACKAGE_NAME}.json"
PACKAGE_VERSION="==$(cat "${PACKAGE_NAME}.json" | jq --raw-output '.info.version')"
rm "${PACKAGE_NAME}.json"
else
PACKAGE_VERSION="==$2"
fi
Expand Down Expand Up @@ -45,7 +49,7 @@ function build_from_pypi {
SCRIPT_PATH="${BASH_SOURCE[0]}"
pushd `dirname ${SCRIPT_PATH}` >/dev/null

build_from_pypi timeout-decorator 0.4.0
build_from_pypi distro 1.3.0
build_from_pypi timeout-decorator
build_from_pypi distro

popd >/dev/null
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
data_files=[(
(BASE_DIR, ['data/nssm_original.exe'])
)],
install_requires=['indy-plenum==1.13.0.dev135',
install_requires=['indy-plenum==1.13.0.dev175',
'timeout-decorator>=0.5.0',
'distro>=1.5.0'],
setup_requires=['pytest-runner'],
Expand Down

0 comments on commit 5356219

Please sign in to comment.