File tree Expand file tree Collapse file tree 4 files changed +17
-16
lines changed
Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ rm -rf /tmp/mesoprelease-test/venv-twine \
4444&& source /tmp/mesoprelease-test/venv-twine/bin/activate \
4545&& pip install --upgrade pip \
4646&& pip install twine \
47+ && cd /tmp/mesoprelease-test \
4748&& twine upload mesop* .whl
4849```
4950
Original file line number Diff line number Diff line change 11"""Contains the version string."""
22
3- VERSION = "0.4.2 "
3+ VERSION = "0.5.0 "
44
55if __name__ == "__main__" :
66 print (VERSION )
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ #
3+ # Run this script from the workspace root:
4+ #
5+ # To run in clean mode (default):
6+ # $ source ./scripts/pip.sh
7+ #
8+ # To run in dirty mode:
9+ # $ MESOP_DIRTY=true source ./scripts/pip.sh
10+ #
11+ # Note: using source ensures the current directory & env are set
12+ # to the current shell which makes completing the smoke test
13+ # described in publishing.md more convenient.
214
3- # Initialize the dirty flag as false
4- dirty=false
5-
6- # Parse command-line options
7- while getopts " d" opt; do
8- case $opt in
9- d) dirty=true ;;
10- \? ) echo " Invalid option: -$OPTARG " >&2
11- exit 1
12- ;;
13- esac
14- done
15-
16- # Now you can use the $dirty variable to conditionally run commands
17- if [ " $dirty " = true ]; then
15+ # Check if MESOP_DIRTY environment variable is set to true
16+ if [ " $MESOP_DIRTY " = " true" ]; then
1817 echo " Running in dirty mode. (not running bazel clean)"
1918 rm -rf /tmp/mesoprelease-test
2019else
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ def button_click(event: me.ClickEvent):
1313
1414@me .page (path = "/buttons" )
1515def main ():
16+ me .text ("Running mesop version: " + me .__version__ )
1617 state = me .state (State )
1718
1819 me .button (
You can’t perform that action at this time.
0 commit comments