Skip to content

Commit

Permalink
Merge pull request #2976 from c2corg/technical/changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobesson authored Oct 17, 2022
2 parents 4b2ee7d + a747aec commit 250658d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 53 deletions.
31 changes: 31 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
changelog:
categories:
- title: 🚨 Breaking changes
labels:
- backwards-incompatible
- breaking
- title: ✨ New features and enhancements
labels:
- enhancement
- title: 🐞 Fixed bugs
labels:
- bug
- title: ⚠️ Deprecated
labels:
- deprecated
- title: ⛔ Removed
labels:
- removed
- title: 📚 Documentation
labels:
- doc
- title: 🏗 Chores
labels:
- chore
- dependency
- dependencies
- security
- dependabot
- title: Other changes
labels:
- '*'
46 changes: 0 additions & 46 deletions .github/workflows/changelog.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Generate changelog for release
id: release_changelog
run: |
previousTag=$(git tag | sort -V -r | head -2 | awk '{split($0, tags, "\n")} END {print tags[1]}')
currentTag=$(git tag | sort -V -r | head -1)
changelog=$(git log --pretty=oneline ${previousTag}..${currentTag} --no-merges)
echo "changelog=$changelog" >> $GITHUB_OUTPUT
- name: Create or update release
uses: meeDamian/[email protected]
with:
Expand Down

0 comments on commit 250658d

Please sign in to comment.