mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-25 19:02:37 +00:00
063f0621c1
- Fix fastlane env variables - Use single CHANGELOG.md in project root - Retain old 1.x changelogs
16 lines
304 B
Bash
Executable File
16 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
VERSION=$1
|
|
|
|
if [[ -z $VERSION ]]; then
|
|
echo "Version number required"
|
|
exit 1
|
|
fi
|
|
|
|
CHANGELOG_GLOB="CHANGELOG.md"
|
|
|
|
ci/set-version.sh $VERSION
|
|
sed -i '' -E "s/(^and this project adheres.*$)/\1\n\n## Unreleased/" $CHANGELOG_GLOB
|
|
|
|
git add *.plist $CHANGELOG_GLOB
|
|
git commit -m "Bump version"
|