mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-13 20:19:07 +00:00
7ef32882f1
* Freeze release workflow - Do not pull anything from master - Do not push release commit to master - Only push created version tag * Refine scripts to start new version 1. Cherry-pick hotfixes from released version 2. Bump version to new version Normally, 1 is only made of the release commit updating CHANGELOG with the release date. However, if a release branch was needed to apply hotfixes to the latest release, cherry picking will account for the whole release branch (i.e. multiple commits). * Ignore more paths for unit testing
13 lines
322 B
Bash
Executable File
13 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
VERSION_NEXT=$2
|
|
if [[ -z $VERSION_NEXT ]]; then
|
|
echo "New version number required"
|
|
exit 1
|
|
fi
|
|
|
|
CHANGELOG_GLOB="CHANGELOG.md"
|
|
ci/set-version.sh $VERSION_NEXT
|
|
sed -i '' -E "s/(^and this project adheres.*$)/\1\n\n## Unreleased/" $CHANGELOG_GLOB
|
|
git add *.plist $CHANGELOG_GLOB
|
|
git commit -m "Bump version"
|