fix: fix release CI error (#160)

* fix release CI error

* reset version

* fix error code

* change private_key path

* add pr title  rules

* reset version
This commit is contained in:
Linlang
2024-08-05 17:34:03 +08:00
committed by GitHub
parent 420dbbe584
commit 06e1c705d2
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -33,10 +33,10 @@ jobs:
echo "new_version=$NEW_VERSION" >> $GITHUB_ENV
echo "New version: $NEW_VERSION"
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push --follow-tags
echo "${{ secrets.PRIVATE_KEY }}" >> ~/private_key
chmod 600 ~/private_key
GIT_SSH_COMMAND="ssh -i ~/private_key" git push --follow-tags
- name: Generate changelog
run: |
make changelog