Skip to content

Commit c1f56e5

Browse files
sync tags and pypi (#137)
* sync tags and pypi
1 parent f34fa5d commit c1f56e5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/bd_to_prod.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ echo "Creating new credential files"
3434
mkdir -p ~/.aws
3535
echo ${KEY} | gpg --batch -d --passphrase-fd 0 ${enc_location} > ~/.aws/credentials
3636

37-
echo "Creating dist directory"
38-
pip install wheel --quiet
39-
python setup.py bdist_wheel
40-
4137
echo "Getting latest changes from git"
4238
changes=$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)
4339

@@ -47,7 +43,8 @@ bumpversion patch --message "{current_version} → {new_version}. Changes: ${cha
4743
push_tags
4844

4945
echo "Uploading to PyPi"
50-
pip install twine
46+
pip install twine wheel --quiet
47+
python setup.py bdist_wheel
5148
twine upload dist/*
5249

5350
echo "Creating lumigo-python-tracer layer"

0 commit comments

Comments
 (0)