File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def railway_deploy(
3636):
3737 """Deploy a FastHTML app to Railway"""
3838 nm ,ver = check_output ("railway --version" .split ()).decode ().split ()
39- assert nm == 'railway' , f'Unexpected railway version string: { nm } '
39+ assert nm . startswith ( 'railway' ) , f'Unexpected railway version string: { nm } '
4040 if ver2tuple (ver )< (3 ,8 ): return print ("Please update your railway CLI version to 3.8 or higher" )
4141 cp = run ("railway status --json" .split (), capture_output = True )
4242 if not cp .returncode :
Original file line number Diff line number Diff line change 8282 " ):\n " ,
8383 " \"\"\" Deploy a FastHTML app to Railway\"\"\"\n " ,
8484 " nm,ver = check_output(\" railway --version\" .split()).decode().split()\n " ,
85- " assert nm== 'railway', f'Unexpected railway version string: {nm}'\n " ,
85+ " assert nm.startswith( 'railway') , f'Unexpected railway version string: {nm}'\n " ,
8686 " if ver2tuple(ver)<(3,8): return print(\" Please update your railway CLI version to 3.8 or higher\" )\n " ,
8787 " cp = run(\" railway status --json\" .split(), capture_output=True)\n " ,
8888 " if not cp.returncode:\n " ,
You can’t perform that action at this time.
0 commit comments