[ci] Update the changlog

This commit is contained in:
Kevin Yue 2021-08-22 22:41:47 +08:00
parent eef92b1d31
commit d6af8a1598

View File

@ -25,14 +25,13 @@ jobs:
id: vars id: vars
run: | run: |
TAG=$(git tag --sort=-v:refname --list "v[0-9]*" | head -n 1 | cut -c 2-) TAG=$(git tag --sort=-v:refname --list "v[0-9]*" | head -n 1 | cut -c 2-)
echo ::set-output name=VERSION::"${TAG}+SNAPSHOT$(date -u +"%Y%m%d%H%M%S")-1ppa1" echo ::set-output name=VERSION::"${TAG}+SNAPSHOT$(date -u +"%Y%m%d%H%M%S")"
echo ::set-output name=TAG::${TAG}
- name: Patch changelog (snapshot) - name: Update debian/changelog
uses: pi-top/git-debian-changelog-bump-action@master run: |
with: sudo apt install devscripts
release: false git log --format="%s" v${{ steps.vars.outputs.TAG }}.. | xargs -L1 dch -v ${{ steps.vars.outputs.VERSION }}-1ppa1
author_name: ${{ env.CHANGELOG_AUTHOR_NAME }}
author_email: ${{ env.CHANGELOG_AUTHOR_EMAIL }}
- name: "Archive all" - name: "Archive all"
run: | run: |