ipfs / rainbow

A specialized IPFS HTTP gateway
https://docs.ipfs.tech/reference/http/gateway/
Other
75 stars 12 forks source link

fix(docker): --version match release git tag #146

Closed lidel closed 3 months ago

lidel commented 3 months ago

This makes rainbow --version in docker images be prefixed with the value from release git tag. Non-Docker and developer builds will have the old value.

Example

$ docker run --rm -it --net=host rainbow-test-v99 --version
rainbow version v99.0.0/2024-06-11-981f80e

$ docker run --rm -it --net=host rainbow-test-v99-dirty --version
rainbow version v99.0.0/2024-06-11-981f80e-dirty

$ docker run --rm -it --net=host rainbow-test-main-dev-build --version
rainbow version 2024-06-11-1d56b9b

Requires below to land first:

Closes #145

lidel commented 3 months ago

Superseded by more generic #149