MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
355 stars 90 forks source link

Wrong number of commit on travis #101

Closed filux closed 8 years ago

filux commented 8 years ago

On travis we have something like:

-- Using GIT revision stamp: [275.8882544]

where "275" is basically a "constant random" number. Problems are related with used automatically --depth=50 during clone.

Imo we should keep it like it is now (faster builds) up to the time when we will want to get & use binaries from travis. When/if this time will come we most likely just should use git fetch --unshallow after the clone selectively for builds which we want "use". e.g. if [ "$TRAVIS_OS_NAME" = "linux" ]; then git fetch --unshallow; fi