Commit 9469b95 1 parent f095743 commit 9469b95 Copy full SHA for 9469b95
File tree 4 files changed +17
-16
lines changed
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 \
44
44
&& source /tmp/mesoprelease-test/venv-twine/bin/activate \
45
45
&& pip install --upgrade pip \
46
46
&& pip install twine \
47
+ && cd /tmp/mesoprelease-test \
47
48
&& twine upload mesop* .whl
48
49
```
49
50
Original file line number Diff line number Diff line change 1
1
"""Contains the version string."""
2
2
3
- VERSION = "0.4.2 "
3
+ VERSION = "0.5.0 "
4
4
5
5
if __name__ == "__main__" :
6
6
print (VERSION )
Original file line number Diff line number Diff line change 1
1
#! /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.
2
14
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
18
17
echo " Running in dirty mode. (not running bazel clean)"
19
18
rm -rf /tmp/mesoprelease-test
20
19
else
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ def button_click(event: me.ClickEvent):
13
13
14
14
@me .page (path = "/buttons" )
15
15
def main ():
16
+ me .text ("Running mesop version: " + me .__version__ )
16
17
state = me .state (State )
17
18
18
19
me .button (
You can’t perform that action at this time.
0 commit comments