Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

(appbase sync) Provide a version string based off "git describe" #5005

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

spoonincode
Copy link
Contributor

Appbase will now provide a version string that is based off "git describe --tags --dirty". This provides a readable version number like v1.1.0 as well as information on intermediate git revisions and/or dirtiness. Since we don’t provide eosio as a .tar.gz package due to Github’s lack of submodules on tarballing, generally all users should be building in a git clone.

Be aware this change will run git describe on EVERY build. The command is quite fast (around 100ms even on a slower 2017 MacBook, but sub 30ms on a quality Linux dev box) and will hopefully provide enough benefit to be worth it.

Appbase will now provide a version string that is based off "git describe --tags --dirty". This provides a readable version number like v1.1.0 as well as information on intermediate git revisions and/or dirtiness. Since we don’t provide eosio as a .tar.gz package due to Github’s lack of submodules on tarballing, generally all users should be building in a git clone.

Be aware this change will run git describe on EVERY build. The command is quite fast (around 100ms even on a slower 2017 MacBook, but sub 30ms on a quality Linux dev box) and will hopefully provide enough benefit to be worth it.
@heifner heifner merged commit 2b54b2e into develop Aug 3, 2018
@heifner heifner deleted the appbase_version_string branch August 3, 2018 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants