Skip to content

Commit 00b420c

Browse files
committed
Test change log
Signed-off-by: Partho Sarthi <[email protected]>
1 parent 3d95034 commit 00b420c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/release.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

12-
1312
steps:
1413
- name: Checkout code
1514
uses: actions/checkout@v2
@@ -23,9 +22,6 @@ jobs:
2322

2423
# Add steps here to build the Python package, generate a wheel, etc.
2524

26-
- name: Fetch all tags
27-
run: git fetch --tags
28-
2925
- name: Create Release
3026
id: create_release
3127
uses: actions/create-release@v1
@@ -48,7 +44,5 @@ jobs:
4844
- name: Generate Changelog
4945
id: changelog
5046
run: |
51-
from_tag="v1.0.5"
52-
to_tag="${{ github.ref }}"
53-
changelog=$(git log --pretty=format:"- %s" $from_tag...$to_tag)
54-
echo "::set-output name=changelog::$changelog"
47+
npx conventional-changelog -p angular -i CHANGELOG.md -s
48+
echo "::set-output name=changelog::$(cat CHANGELOG.md)"

0 commit comments

Comments
 (0)