[FR] how about a Bump button next to where we enter the version number?

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


${JUCER} --bump-version ${PROJ_FILE}

vim ../installer/change.log

echo press enter to commit changes and tag

VERSION=`${JUCER} --get-version ${PROJ_FILE}`

git ci -am "version bumped to ${VERSION}"
git tag ${VERSION}

hey @jimc what is that git ci?

git: 'ci' is not a git command. See 'git --help'.

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.

1 Like

Ah yeah sorry, alias i have set up here for commit, as McMartin and richie deduced :slight_smile:

I’m lazy … i think i’ve reduced it to a script called gci now on most of my computers…