LinkinStars commented on issue #1285:
URL: https://github.com/apache/answer/issues/1285#issuecomment-2723235756
Let me explain it. When build new answer with plugin, it will create a dir
firstly, such like `answer_build1980106637`. All following command will be
execute in this temp dir. So if you use the relative path, such as
`./new_answer`, the new binary will be put to
`answer_build1980106637/new_answer`. After building the temp dir will be
removed, so the binary will be clean too. In order not to cause
misunderstanding, it is better to use the absolute path directly to ensure the
correct output of the product.
BTW, A simpler way is as follows
```bash
./answer build --output ${PWD}/new_answer
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]