MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.97k stars 522 forks source link

Always fetch tags before running git describe #15720

Closed dkijania closed 2 weeks ago

dkijania commented 3 weeks ago

Similar to issue described here https://github.com/buildkite/agent/issues/338 we are suffering from non deterministic behavior of git describe command. Issue manifests itself when building debian and dockers artifacts. We are adding latest tag to the version of artifact based on git describe command output. If tags are not fetched correctly (for example when buildkite agent is not performing full repo checkout) it might cause that debian will have different version and as a result docker won't be able to install when building docker. This PR is an attempt to fix it by always manually fetch tags

dkijania commented 3 weeks ago

!ci-build-me

dkijania commented 3 weeks ago

!ci-build-me

dkijania commented 2 weeks ago

!ci-build-me

mrmr1993 commented 2 weeks ago

!approved-for-mainnet