mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Revert "misc(changelog workflow): Some minor improvements (#1801)"
This reverts commit 2d53efc945
.
This commit is contained in:
parent
8daf87f0bd
commit
d8e2fa606c
1 changed files with 8 additions and 8 deletions
16
.github/workflows/changelog.yml
vendored
16
.github/workflows/changelog.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Changelog & checksums generation
|
||||
name: Changelog & checksums.md5 generation
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -16,10 +16,6 @@ jobs:
|
|||
ref: master
|
||||
token: ${{ secrets.REPO_TOKEN }}
|
||||
|
||||
- name: Generate checksums file
|
||||
run: |
|
||||
find . -type f -not -path "./.git/*" -exec md5sum {} \; > internal_data/checksums.md5
|
||||
|
||||
- name: Generate a changelog
|
||||
uses: orhun/git-cliff-action@v4
|
||||
id: git-cliff
|
||||
|
@ -33,14 +29,18 @@ jobs:
|
|||
- name: Print the changelog
|
||||
run: cat "${{ steps.git-cliff.outputs.changelog }}"
|
||||
|
||||
- name: Generate checksums file
|
||||
run: |
|
||||
find . -type f -not -path "./.git/*" -exec md5sum {} \; > internal_data/checksums.md5
|
||||
|
||||
- name: Commit changes (changelog & updated checksums)
|
||||
run: |
|
||||
git checkout master
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config user.name 'belomaxorka'
|
||||
git config user.email 'roman25052006.kelesh@gmail.com'
|
||||
set +e
|
||||
if git diff --quiet internal_data/checksums.md5; then
|
||||
echo "No changes in internal_data/checksums.md5"
|
||||
echo "No changes in checksums.md5"
|
||||
else
|
||||
git add internal_data/checksums.md5
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue