passepartout-apple/ci/bump-version.sh

11 lines
186 B
Bash
Raw Normal View History

2024-09-23 13:25:16 +00:00
#!/bin/sh
if [ -z $1 ]; then
echo "Version number required"
exit 1
fi
if [ ! -z $2 ]; then
BUILD="build:$2"
fi
VERSION="version:$1"
bundle exec fastlane bump $VERSION $BUILD