Rename changelog.md to all capitals
The basic files in root often use all capitals, as is already used for readme and manifest. Related #2273
This commit is contained in:
parent
79f7c5ef77
commit
85af0fc667
|
@ -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 *
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue