itchio / butler

🎩 Command-line itch.io helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to set a custom userversion on butler push

Glusk opened this issue · comments

commented

I am using butler with travis in project Glusk2/sprouts.

TRAVIS_TAG is an environemnt variable, set by the Travis CI. I've tried setting the userversion to TRAVIS_TAG on butler push but it didn't work (I've tried two different ways - Glusk/sprouts#143).

I am using this deployment script. The files get pushed successfully but using itchio's default versioning (incrementing integers, starting from 0).

What am I doing wrong? Why can't I set the userversion to a specified value manually?


Sample build log with butler deployment:
https://travis-ci.com/Glusk2/sprouts/builds/130578088

The function prepare_and_push in deploy.sh only relays 3 arguments, so --userversion never gets passed to butler.