diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4561622..720b4ba 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,14 +23,16 @@ jobs: - name: Package plugin run: mkdir release && zip -j -r release/openai-translator-${{ steps.get_version.outputs.version-without-v }}.bobplugin ./src/* + - run: git checkout -- src/ + - name: Update appcast.json run: | python3 scripts/update_appcast.py ${{ steps.get_version.outputs.version-without-v }} - name: Commit files run: | - git config --global user.name 'OpenL' - git config --global user.email 'git@openl.club' + git config --global user.name 'yetone' + git config --global user.email 'yetoneful@gmail.com' git add . git commit -am 'update appcast.json' diff --git a/appcast.json b/appcast.json index 376b63d..f503075 100644 --- a/appcast.json +++ b/appcast.json @@ -1,4 +1,12 @@ { "identifier": "yetone.openai.translator", - "versions": [] -} + "versions": [ + { + "version": "0.0.6", + "desc": "https://github.com/yetone/bob-plugin-openai-translator/releases/tag/v0.0.6", + "sha256": "979a3db1a4ebde0475a79b267f8d05f7f940f38325daabdf0cecb73030102ca6", + "url": "https://github.com/yetone/bob-plugin-openai-translator/releases/download/v0.0.6/openai-translator-0.0.6.bobplugin", + "minBobVersion": "0.5.0" + } + ] +} \ No newline at end of file