Skip to content

Commit 55d3dcc

Browse files
authored
Merge pull request #66 from Ramo-Y/bugfix/fix-license
Fix license
2 parents 7eefeb6 + 6323827 commit 55d3dcc

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

DEVELOPMENT.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
- [Description](#description)
22
- [Documentation](#documentation)
3+
- [Hooks](#hooks)
34
- [Icons](#icons)
45
- [Branches](#branches)
56
- [Version](#version)
@@ -26,6 +27,15 @@ You are welcome to participate in the development of this tool, in this file som
2627
# Documentation
2728
If changes are made to the interface or functionality, the screenshots and documentation should also be updated.
2829

30+
# Hooks
31+
To ensure warnings appear when changes are made to specific files (e.g., to prevent committing sensitive files or forgetting dependent updates), configure the Git hooks for this project.
32+
33+
Run the following command to set up the hooks for this repository:
34+
35+
`git config core.hooksPath git-hooks`
36+
37+
This configuration applies only to this project and ensures the hooks in the git-hooks/ directory are used automatically.
38+
2939
# Icons
3040
To add new icons to the user interface, use the Material Design icons from Google Fonts. They can be downloaded [here](https://fonts.google.com/icons) for free. Use the default settings and always download a dark and a light theme icon as an SVG file.
3141

git-hooks/pre-commit

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,14 @@ if git diff --cached --name-only | grep -q "$PROTECTED_FILE"; then
1010
exit 1
1111
fi
1212

13+
# SyncfusionVersion license key reminder
14+
BUILD_PROPS_FILE="src/Directory.Build.props"
15+
16+
if git diff --cached --name-only | grep -q "$BUILD_PROPS_FILE"; then
17+
if git diff --cached "$BUILD_PROPS_FILE" | grep -E "\+.*<SyncfusionVersion>.*</SyncfusionVersion>"; then
18+
echo "WARNING: The SyncfusionVersion in $BUILD_PROPS_FILE has been updated."
19+
echo "If a new major version of Syncfusion is being used, ensure the Syncfusion license key is updated in the GitHub Action."
20+
fi
21+
fi
22+
1323
exit 0

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
3-
<DisplayVersion>1.0.72</DisplayVersion>
4-
<ApplicationVersion>72</ApplicationVersion>
3+
<DisplayVersion>1.0.73</DisplayVersion>
4+
<ApplicationVersion>73</ApplicationVersion>
55
<VersionPrefix>$(DisplayVersion)</VersionPrefix>
66
<ApplicationDisplayVersion>$(DisplayVersion)</ApplicationDisplayVersion>
77

0 commit comments

Comments
 (0)