Am I the only one who thinks it would be really obvious to add a [bump version number] here?
ProJucer already has the functionality, albeit via the commandline (why?)
[bump major]
[bump minor]
maybe two buttons?
Am I the only one who thinks it would be really obvious to add a [bump version number] here?
ProJucer already has the functionality, albeit via the commandline (why?)
[bump major]
[bump minor]
maybe two buttons?
So you can write scripts like:
#!/bin/sh -e
if ! git diff-index --quiet HEAD --; then
echo not all changes committed
exit 1
fi
JUCER="../juce/extras/Projucer/Builds/MacOSX/build/Release/Projucer.app/Contents/MacOS/Projucer"
${JUCER} --bump-version ${PROJ_FILE}
vim ../installer/change.log
echo press enter to commit changes and tag
read
VERSION=`${JUCER} --get-version ${PROJ_FILE}`
git ci -am "version bumped to ${VERSION}"
git tag ${VERSION}
Probably a typo or some sort of magic shortcut to commit
?
-a
and -m <msg>
are commit
arguments for regular git
.
It’s a Git alias. See https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases for more details.
Ah yeah sorry, alias i have set up here for commit, as McMartin and richie deduced
I’m lazy … i think i’ve reduced it to a script called gci now on most of my computers…