We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A versioning approach needs to be defined:
master
wip
--version
wip-<hash>
draft-<hash>
The text was updated successfully, but these errors were encountered:
Hi. maybe adding, in compile_silice_linux.sh, something like do the job:
BRANCH=$(git branch --show-current) if [ $BRANCH == "master" ]; then GIT_VERS=$(git describe --tags) else GIT_VERS="$BRANCH-$(git rev-parse --short $(git branch --show-current))" fi cmake -DGIT_VERS=$GIT_VERS -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../..
Ok it's linux only but a similar piece of code may works for others OS.
Sorry, something went wrong.
No branches or pull requests
A versioning approach needs to be defined:
master
branch on new versions (when merging fromwip
), where the tag is an actual version string (good practices?)--version
should display thesewip-<hash>
ordraft-<hash>
The text was updated successfully, but these errors were encountered: