davispuh opened a new issue, #1285:
URL: https://github.com/apache/answer/issues/1285

   ## Describe the bug
   
   Using `answer build --output name` option binary is not actually created.
   
   ### To Reproduce
   
   Download and unpack 
https://github.com/apache/answer/releases/download/v1.4.2/apache-answer-1.4.2-bin-linux-amd64.tar.gz
   ```
   $ ./answer build --output myanswer --with 
github.com/apache/answer-plugins/connector-basic
   try to build a new answer with plugins:
   [...]
   [go build -ldflags -X github.com/apache/answer/cmd.Version=1.4.2 -X 
github.com/apache/answer/cmd.Revision=0fd7e81 -X 
github.com/apache/answer/cmd.Time=2025-02-06T08:31:57Z -o myanswer .]
   build new answer successfully myanswer
   $ ls -la
   // there is no `myanswer`
   ```
   
   If I don't specify `--output` parameter or if I specify full path `--output 
/tmp/myanswer` then it works.
   
   ### Expected behavior
   
   `myanswer` to exist
   
   
   ### Platform
   
   - Device: Desktop
   - OS: Arch Linux
   - Browser and version: N/A
   - Version: 1.4.2 (revision: 0fd7e81)
   


-- 
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]

Reply via email to