Index: build.sh =================================================================== diff -u -re0eadb4bf0d4db2d0c3a053a992f5c9cf5c165c4 -r0f4c7f22325dcd2ebb82be88a13bd879bfc40d48 --- build.sh (.../build.sh) (revision e0eadb4bf0d4db2d0c3a053a992f5c9cf5c165c4) +++ build.sh (.../build.sh) (revision 0f4c7f22325dcd2ebb82be88a13bd879bfc40d48) @@ -14,22 +14,22 @@ # @date (original) 02-Apr-2020 # ############################################################################ -OLD_NAME="leahi_dialin-1.0.0-py3-none-any.whl" -NEW_NAME="leahi_dialin-1.0.0" +#OLD_NAME="leahi_dialin-1.0.0-py3-none-any.whl" +#NEW_NAME="leahi_dialin-1.0.0" -NEW_NAME+="-$1" # Append the Bamboo Build Number (Incremental version) -NEW_NAME+="+$2" # Append the Project Checkout Branch Name -NEW_NAME+=".$3" # Append the Build Commit Hash -NEW_NAME+="-py3-none-any.whl" # Append the metadata and the file extension name +#NEW_NAME+="-$1" # Append the Bamboo Build Number (Incremental version) +#NEW_NAME+="+$2" # Append the Project Checkout Branch Name +#NEW_NAME+=".$3" # Append the Build Commit Hash +#NEW_NAME+="-py3-none-any.whl" # Append the metadata and the file extension name rm -rf dist/ python3 setup.py bdist_wheel if [ $? -ne 0 ]; then echo "Error building package. Exiting..."; exit 1; fi -cd dist/ || return -if [ -f "$OLD_NAME" ]; then - mv "$OLD_NAME" "$NEW_NAME" - echo "Success! Please distribute dist/$NEW_NAME accordingly." -else - echo "Wheel file not found but built. Please rename manually." -fi \ No newline at end of file +#cd dist/ || return +#if [ -f "$OLD_NAME" ]; then +# mv "$OLD_NAME" "$NEW_NAME" + echo "Success! Please distribute dist/leahi_dialin-x.y.z-py3-none-any.whl accordingly." +#else +# echo "Wheel file not found but built. Please rename manually." +#fi \ No newline at end of file