You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
daaa2019
changed the title
第十四章fabric打包部分的origin_content.replace('${version}’, version)执行的时候,结果没有变化
第十四章P301中fabric打包部分的origin_content.replace('${version}’, version)执行的时候,结果没有变化
Feb 16, 2021
setup.py中的代码是
version='0.1'
然后
在fabfile.py中读取setup.py的内容并执行replace
origin_content.replace('${version}‘, version)
这里的${version}能够获取到0.1吗?我执行后,没反应呢,请问什么怎么回事?
是我哪里弄错了,还是说origin_content本来就是一个string,按道理是没办法在一个string里用${version}打印版本号?
The text was updated successfully, but these errors were encountered: