Skip to content

Commit 776dc0e

Browse files
[META] Clean changelog
Signed-off-by: Clément Dufaure <clement.dufaure@insee.fr>
1 parent 2af22a7 commit 776dc0e

2 files changed

Lines changed: 25 additions & 125 deletions

File tree

.github/workflows/tag.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,15 @@ jobs:
1919

2020
- name: Prepare
2121
run: |
22-
git config --global user.name "Insee - Domaine Outils Transverses"
23-
git config --global user.email "dg75-dsi-domaine-outils-transverses@insee.fr"
22+
git config --global user.name "Insee - Team sugoi"
2423
git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}.git
2524
cd sugoi-api/
2625
git checkout ${{ github.ref_name }}
2726
git fetch --tags
2827
git checkout -b release-${{ github.event.inputs.version }}
2928
mvn -B versions:set -DnewVersion=${{ github.event.inputs.version }} -DgenerateBackupPoms=false
3029
echo -e "# ${{ github.event.inputs.version }} \n\n" >> changelog.tmp
31-
git log --pretty=format:"- %s" `git tag --sort=-committerdate | head -1`...@ >> changelog.tmp
30+
git log --pretty=format:"- %s" `git tag --sort=-committerdate | head -1`...@ | grep -v [REL] >> changelog.tmp
3231
echo -e "\n\n" >> changelog.tmp
3332
cat CHANGELOG.md >> changelog.tmp
3433
mv changelog.tmp CHANGELOG.md
@@ -92,8 +91,7 @@ jobs:
9291
with:
9392
node-version: 14
9493
- run: |
95-
git config --global user.name "Insee - Domaine Outils Transverses"
96-
git config --global user.email "dg75-dsi-domaine-outils-transverses@insee.fr"
94+
git config --global user.name "Insee - Team sugoi"
9795
git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}.git
9896
cd sugoi-api/
9997
git checkout release-${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)