From d9a583f5655982e69abdc1a704f8170c7d6aa67c Mon Sep 17 00:00:00 2001 From: guanguans Date: Tue, 7 Feb 2023 06:11:05 +0000 Subject: [PATCH 1/2] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 274011c..46e57a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `guanguans/ai-commit` will be documented in this file. +## v0.2.3 - 2023-02-07 + +**Full Changelog**: https://github.com/guanguans/ai-commit/compare/v0.2.2...v0.2.3 + ## v0.2.2 - 2023-02-07 **Full Changelog**: https://github.com/guanguans/ai-commit/compare/v0.2.1...v0.2.2 From fcd8829c7582e613839a0d706e8917c8715232cb Mon Sep 17 00:00:00 2001 From: yaozm Date: Tue, 7 Feb 2023 14:20:30 +0800 Subject: [PATCH 2/2] Bump to v1.0.0 This is a major release. --- .github/workflows/publish-phar.yml | 2 +- composer.json | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-phar.yml b/.github/workflows/publish-phar.yml index 389b4a8..a2b288d 100644 --- a/.github/workflows/publish-phar.yml +++ b/.github/workflows/publish-phar.yml @@ -47,6 +47,6 @@ jobs: - name: Commit bump uses: stefanzweifel/git-auto-commit-action@v4 with: - branch: master + branch: main commit_message: Bump to ${{ github.event.release.name }} file_pattern: builds/ai-commit CHANGELOG.md \ No newline at end of file diff --git a/composer.json b/composer.json index 9010fed..3b8ee6e 100644 --- a/composer.json +++ b/composer.json @@ -116,16 +116,13 @@ } }, "scripts": { - "post-install-cmd": [ - "@cghooks add --ignore-lock", - "@cghooks update" - ], + "post-install-cmd": [], "post-update-cmd": [ + "@cghooks add --ignore-lock", "@cghooks update" ], "post-autoload-dump": [], - "auto-commit": "auto-commit", - "auto-commit-dry-run": "@auto-commit --dry-run", + "ai-commit": "@php ./builds/ai-commit commit", "cghooks": "@php ./vendor/bin/cghooks", "changelog": "@php ./vendor/bin/conventional-changelog", "changelog-keep": "@php ./vendor/bin/keep-a-changelog",