:bomb: `Bug`: `dtm upgrade` download dtm into the wrong place
What Happened?
My dtm binary is in PATH, and I execute dtm upgrade in another path.
It should put the new dtm binary on PATH. But it download the latest dtm on the current path.
How to Reproduce?
Execute dtm upgrade on the dir different from where dtm is.
Anything else
If your workdir don't have dtm. The output will be like:
DevStream Version
latest
hi, i want this issues
hi, i want this issues
Happy Coding 👏
Thanks, but I seems liketo find one bugs? i use dtm upgrade and got the following error: ✖ [FATAL] rename /root/dtm/dtm /root/dtm/dtm-bak: no such file or directory
OS: centos7 golang: go1.19.1 linux/amd64
On Mon, 17 Oct 2022 at 22:12, Bird @.***> wrote:
hi, i want this issues
Happy Coding 👏
— Reply to this email directly, view it on GitHub https://github.com/devstream-io/devstream/issues/1172#issuecomment-1280927867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKP5D67PEUNK6GBP5UKEW3WDVNGLANCNFSM6AAAAAAREQJMKI . You are receiving this because you were assigned.Message ID: @.***>
Thanks, but I seems liketo find one bugs? i use dtm upgrade and got the following error: ✖ [FATAL] rename /root/dtm/dtm /root/dtm/dtm-bak: no such file or directory OS: centos7 golang: go1.19.1 linux/amd64 … On Mon, 17 Oct 2022 at 22:12, Bird @.> wrote: hi, i want this issues Happy Coding 👏 — Reply to this email directly, view it on GitHub <#1172 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKP5D67PEUNK6GBP5UKEW3WDVNGLANCNFSM6AAAAAAREQJMKI . You are receiving this because you were assigned.Message ID: @.>
That's where the bug is. 😀 Just fix it! (Find the correct path where dtm binary is).
Feel free to keep in touch with us. @Shuimo03
@Shuimo03 please link this issue to your open PR. Thanks! And great work on the PR!
@Shuimo03, a gentle reminder: this issue has been stale for a week. When you have time, please review the comments above and try to merge this one. Thanks :)
Merged.