Skip to content

Commit 95aeabb

Browse files
committed
update
1 parent 3792db2 commit 95aeabb

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

CHANGELOG/CHANGELOG-template.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ This shows your most recent tags at the top. Let's say the last release tag is `
5151

5252
2. Generate the changelog
5353

54-
Now, use the following command to list the commits since that tag:
54+
Now, use the following command to list the commits since that tag, and auto generate github PR link if there's any
5555

5656
```
57-
git log v1.4.2..HEAD --pretty=format:"- %s (%an)"
57+
git log v1.4.2..HEAD --pretty=format:"%s" --no-merges | \
58+
sed -E 's/^(.*)\(#([0-9]+)\)$/- \1[PR #\2](https:\/\/github.com\/layr-labs\/eigenlayer-contracts\/pull\/\2)/' | \
59+
sed -E '/\[PR #[0-9]+\]/! s/^(.*)$/- \1/'
5860
```
5961

6062
This will show:
@@ -66,13 +68,14 @@ This will show:
6668
An example output is:
6769

6870
```
69-
% git log v1.4.2..HEAD --pretty=format:"- %s (%an)" --no-merges
70-
- ci: add explicit permissions to workflows to mitigate security concerns (#1392) (bowenli86)
71-
- ci: remove branch constraint for foundry coverage job (Bowen Li)
72-
- docs: add release managers to changelogs (Bowen Li)
73-
- docs: add templates for changelog and release notes (#1382) (bowenli86)
74-
- docs: add doc for steps to write deploy scripts (#1380) (bowenli86)
75-
- ci: add testnet envs sepolia and hoodi to validate-deployment-scripts (#1378) (bowenli86)
71+
- ci: add explicit permissions to workflows to mitigate security concerns [PR #1392](https://github.com/layr-labs/eigenlayer-contracts/pull/1392)
72+
- ci: remove branch constraint for foundry coverage job
73+
- docs: add release managers to changelogs
74+
- docs: add templates for changelog and release notes [PR #1382](https://github.com/layr-labs/eigenlayer-contracts/pull/1382)
75+
- docs: add doc for steps to write deploy scripts [PR #1380](https://github.com/layr-labs/eigenlayer-contracts/pull/1380)
76+
- ci: add testnet envs sepolia and hoodi to validate-deployment-scripts [PR #1378](https://github.com/layr-labs/eigenlayer-contracts/pull/1378)
77+
- docs: update MAINTENANCE to include practices of merging multiple release-dev branches
78+
- docs: updating readme for dead links, readability, new language, and more [PR #1377](https://github.com/layr-labs/eigenlayer-contracts/pull/1377)
7679
...
7780
```
7881

0 commit comments

Comments
 (0)