Skip to content

Commit

Permalink
GA:更新自动更新词库版本号提交的提交描述
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Aug 23, 2024
1 parent 96fd043 commit c802428
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/locals(greasyfork).js_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ jobs:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
APP_SLUG: ${{ steps.generate_token.outputs.app-slug }}
run: |
version=$(sed -n -E 's/^\/\/ @version\s+(.+)/\1/p' "main(greasyfork).user.js")
bash script/ci_commit_with_signature.sh \
-R "${{ github.repository }}" \
-B "${{ github.ref_name }}" \
-P "${{ github.sha }}" \
-F "locals(greasyfork).js, main(greasyfork).user.js" \
-h "main(greasyfork).user.js Update on $(TZ='Asia/Shanghai' date +'%Y-%m-%d')"
-h "main(greasyfork).user.js Update to $version"
3 changes: 2 additions & 1 deletion .github/workflows/main.user.js_version_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ jobs:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
APP_SLUG: ${{ steps.generate_token.outputs.app-slug }}
run: |
version=$(sed -n -E 's/^\/\/ @version\s+(.+)/\1/p' main.user.js)
bash script/ci_commit_with_signature.sh \
-R "${{ github.repository }}" \
-B "${{ github.ref_name }}" \
-P "${{ github.sha }}" \
-F "main.user.js" \
-h "main.user.js Update to version $(TZ='Asia/Shanghai' date +'%Y-%m-%d')"
-h "main.user.js Update to $version"

0 comments on commit c802428

Please sign in to comment.