diff --git a/ChangeLog.md b/CHANGELOG.md similarity index 100% rename from ChangeLog.md rename to CHANGELOG.md diff --git a/MANIFEST.in b/MANIFEST.in index ca3fa2bf49..1f9040eac2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ -include COPYRIGHT COPYING README.md ChangeLog.md lib/solaar/version lib/solaar/commit +include COPYRIGHT COPYING README.md CHANGELOG.md lib/solaar/version lib/solaar/commit recursive-include rules.d * recursive-include share/locale * diff --git a/RELEASE.md b/RELEASE.md index 130b70d3d5..59b61bf00c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -8,7 +8,7 @@ candidates (ex. `1.0.0rc1`). Release candidates must have a `rcX` suffix. Release routine: - Update version in `lib/solaar/version` -- Add release changes to `ChangeLog.md` +- Add release changes to `CHANGELOG.md` - Add release information to `share/solaar/io.github.pwr_solaar.solaar.metainfo.xml` - Create a commit that starts with `release VERSION` - Push commit to Solaar repository diff --git a/release.sh b/release.sh index 79e5fb84d6..b2f424b101 100755 --- a/release.sh +++ b/release.sh @@ -88,7 +88,7 @@ echo [[ ! $REPLY =~ ^[Yy]$ ]] && echo 'Release aborted.' && exit 1 # Check if version is in the changelog -grep '^# '"$version" ChangeLog.md >/dev/null +grep '^# '"$version" CHANGELOG.md >/dev/null [ $? -ne 0 ] && echo 'Error: Version is not present in the changelog' && exit 1 # Check for uncommitted changes @@ -125,7 +125,7 @@ echo 'Creating tag...' [ "$line" == "# $version" ] && found=yes || found=no fi [ "$found" == 'yes' ] && [ "${line:0:1}" == '*' ] && echo "$line" - done < ChangeLog.md + done < CHANGELOG.md } > /tmp/solaar-changelog [ -z "$DRY_RUN" ] && git tag -s $version -F /tmp/solaar-changelog >/dev/null || true [ $? -ne 0 ] && echo -e '\nError: Failed to create tag' && exit 1