Skip to content

Commit

Permalink
Rename changelog.md to all capitals
Browse files Browse the repository at this point in the history
The basic files in root often use all capitals, as is already used for
readme and manifest.

Related pwr-Solaar#2273
  • Loading branch information
MattHag committed Mar 2, 2024
1 parent e695322 commit 078fc17
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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 *
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 078fc17

Please sign in to comment.