2022-10-17 06:35:36 +00:00
|
|
|
#!/bin/bash
|
2022-10-30 11:56:49 +00:00
|
|
|
VERSION_NEXT=$2
|
|
|
|
if [[ -z $VERSION_NEXT ]]; then
|
|
|
|
echo "New version number required"
|
2021-09-29 13:09:15 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2022-04-19 14:17:13 +00:00
|
|
|
CHANGELOG_GLOB="CHANGELOG.md"
|
2022-10-30 11:56:49 +00:00
|
|
|
ci/set-version.sh $VERSION_NEXT
|
2021-09-29 13:09:15 +00:00
|
|
|
sed -i '' -E "s/(^and this project adheres.*$)/\1\n\n## Unreleased/" $CHANGELOG_GLOB
|
|
|
|
git add *.plist $CHANGELOG_GLOB
|
|
|
|
git commit -m "Bump version"
|