chengxilo opened a new pull request, #2037:
URL: https://github.com/apache/iggy/pull/2037

   This PR adds a workflow for publishing Go modules.
   
   I am sorry about that, unlike other SDKs (for example, java-sdk-*, 
csharp-sdk-*), the tag for go sdk should be something like `foreign/go/v1.2.3`. 
So other developer who use golang sdk can use the sdk with `go get 
github.com/apache/iggy/foreign/go@latest`
   
   This is how to publish the golang sdk.
   ```shell
   git tag foreign/go/v1.2.3
   git push origin foreign/go/v1.2.3
   ```
   
   Go modules are published automatically when a tag is pushed. Therefore, 
there is no separate "publish" step in the workflow. Instead, the only thing 
this workflow can do is performing post-publish checks to ensure the following:
   
   1. The version tag format is valid
   2. The go.mod file is correct
   3. All unit tests pass
   
   To be honest, it feels like closing the barn door after the horse has 
bolted.😂


-- 
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: commits-unsubscr...@iggy.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to