Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update Go base alpine - add branch in makefile (celestiaorg#2414)
hello team! This PR contains a couple of things: - Update the base version of Go Alpine to `golang:1.20-alpine3.18` - In the Makefile, I've added the following line: ```Makefile main.semanticVersion=$(shell git describe --tags --dirty=-dev 2>/dev/null || git rev-parse --abbrev-ref HEAD)'" ``` Basically what it does is, in case this commit doesn't contain any tag, it uses the branch name. At the moment we are having some issues using the flag `version`, the output command is: ![Screenshot 2023-06-29 at 17 24 22](https://github.com/celestiaorg/celestia-node/assets/32740567/b6b6f948-fcec-4157-920e-0a9863b8d11f) With this change, we'll have something like: ![Screenshot 2023-06-29 at 17 08 17](https://github.com/celestiaorg/celestia-node/assets/32740567/7d2de807-f014-444d-8917-6ec45a9d9750) *Already tested* Let me know what you think about it and if it's worth it 😊 Thanks in advance! 🚀 Jose Ramon Mañes --------- Signed-off-by: Jose Ramon Mañes <[email protected]> Co-authored-by: rene <[email protected]>
- Loading branch information