-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New readme, and a version bump, and improvements to the package and u…
…pload script.
- Loading branch information
Showing
4 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version="0.4.1" | ||
version="0.4.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
#!/bin/bash | ||
version=v`cat ./modbus4mqtt/version.py | cut -d\" -f2` | ||
rm ./dist/modbus4mqtt*.whl | ||
rm ./dist/modbus4mqtt*.tar.gz | ||
python3 setup.py sdist bdist_wheel | ||
python3 -m twine upload dist/* | ||
docker build -t tjhowse/modbus4mqtt:latest -t tjhowse/modbus4mqtt:"$version" . | ||
docker push tjhowse/modbus4mqtt:latest | ||
docker push tjhowse/modbus4mqtt:"$version" |