You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if echo "$CHANGED_FILES" | grep -q "$DIRECTORY"; then
27
+
echo "✅ One or more change files in '$DIRECTORY' are included in this PR."
28
+
else
29
+
echo "❌ No change files in '$DIRECTORY' are included in this PR."
30
+
echo "Refer to the 'Adding a change file to your contribution branch' section of https://github.com/awslabs/aws-dotnet-distributed-cache-provider/blob/main/CONTRIBUTING.md"
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,9 @@ GitHub provides additional document on [forking a repository](https://help.githu
40
40
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
41
41
42
42
## Adding a `change file` to your contribution branch
43
+
43
44
Each contribution branch should include a `change file` that contains a changelog message for each project that has been updated, as well as the type of increment to perform for those changes when versioning the project.
45
+
44
46
A `change file` looks like the following example:
45
47
```json
46
48
{
@@ -56,25 +58,30 @@ A `change file` looks like the following example:
56
58
}
57
59
```
58
60
The `change file` lists all the modified projects, the changelog message for each project as well as the increment type.
61
+
59
62
These files are located in the repo at .autover/changes/
63
+
60
64
You can use the `AutoVer` tool to create the change file. You can install it using the following command:
61
65
```
62
66
dotnet tool install -g AutoVer
63
67
```
68
+
64
69
You can create the `change file` using the following command:
65
70
```
66
71
autover change --project-name "AWS.AspNetCore.DistributedCacheProvider" -m "Fixed an issue causing a failure somewhere
67
72
```
68
73
Note: Make sure to run the command from the root of the repository.
74
+
69
75
You can update the command to specify which project you are updating.
70
76
The available projects are:
71
77
* AWS.AspNetCore.DistributedCacheProvider
78
+
72
79
The possible increment types are:
73
80
* Patch
74
81
* Minor
75
82
* Major
76
-
Note: You do not need to create a new `change file` for every changelog message or project within your branch. You can create one `change file` that contains all the modified projects and the changelog messages.
77
83
84
+
Note: You do not need to create a new `change file` for every changelog message or project within your branch. You can create one `change file` that contains all the modified projects and the changelog messages.
78
85
79
86
## Finding contributions to work on
80
87
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
0 commit comments