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
{{ message }}
Repository navigation
[BUG]: Failed to switch environment in external bash script file #253
Activity
[-][BUG]: Some problem...[/-][+][BUG]: 外部bash脚本文件中切换环境失败[/+]aooohan commentedon May 9, 2024
因为vfox的机制是利用shell hook进行刷新. 你这么写shell是不会执行hook的. 所以需要手动刷新一下.
参考下面的配置.
https://github.com/version-fox/vfox-php/blob/ab95a5a317c6e5f7fc9e8622c3978c14d890ce35/.github/workflows/test-linux.yaml#L34-L37
另外你的使用场景是什么?
imknn commentedon May 9, 2024
我需要的功能是:在shell脚本中切换jdk版本,进行不同java项目的打包。我以为这种需求应该很常用吧?
imknn commentedon May 9, 2024
手动刷新是可以的,但是感觉有些麻烦。
aooohan commentedon May 9, 2024
是的, 有解决方案了. 0.5.0下个版本修复.
[-][BUG]: 外部bash脚本文件中切换环境失败[/-][+][BUG]: Failed to switch environment in external bash script file[/+]