Skip to content

Commit

Permalink
update for test action 2
Browse files Browse the repository at this point in the history
Signed-off-by: inhere <in.798@qq.com>
  • Loading branch information
inhere committed Aug 9, 2021
1 parent acb8a36 commit c4e05f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@ jobs:
- name: Generate changelog
if: ${{ matrix.os == 'ubuntu-latest' && matrix.php == '7.4' }}
run: |
echo "test gen chlog"
echo "::group::changelog list by git"
git status && git log -1 && git pull && git fetch --tags --force
echo "changelog list by git"
git status && git log -1 && git fetch --force
git describe --abbrev=0 --tags
lastTag=$(git describe --abbrev=0 --tags) && git log $lastTag...HEAD --pretty=format:"%H | %s" --no-merges --reverse
echo "::endgroup::"
echo "::group::changelog list by kite"
php bin/kite git chlog last head --style gh-release --no-merges --fetch-tags --file tmp/changelog.md
cat tmp/changelog.md
Expand Down

0 comments on commit c4e05f2

Please sign in to comment.