mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
github: escape double quote
This commit is contained in:
parent
6e6f62f9c5
commit
8caf5750d0
1
.github/workflows/macos-6.2.yml
vendored
1
.github/workflows/macos-6.2.yml
vendored
|
@ -87,6 +87,7 @@ jobs:
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
|
CHANGELOG="${CHANGELOG//'\"'/'%22'}"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
||||||
# tag 上传Release
|
# tag 上传Release
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
|
|
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
|
@ -90,6 +90,7 @@ jobs:
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
|
CHANGELOG="${CHANGELOG//'\"'/'%22'}"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
||||||
# tag 上传Release
|
# tag 上传Release
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
|
|
1
.github/workflows/ubuntu-6.2.yml
vendored
1
.github/workflows/ubuntu-6.2.yml
vendored
|
@ -94,6 +94,7 @@ jobs:
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
|
CHANGELOG="${CHANGELOG//'\"'/'%22'}"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
|
|
1
.github/workflows/ubuntu.yml
vendored
1
.github/workflows/ubuntu.yml
vendored
|
@ -91,6 +91,7 @@ jobs:
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
|
CHANGELOG="${CHANGELOG//'\"'/'%22'}"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
||||||
- name: uploadRelease
|
- name: uploadRelease
|
||||||
# if: startsWith(github.event.ref, 'refs/tags/')
|
# if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
|
|
1
.github/workflows/windows-6.2.yml
vendored
1
.github/workflows/windows-6.2.yml
vendored
|
@ -66,6 +66,7 @@ jobs:
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
|
CHANGELOG="${CHANGELOG//'\"'/'%22'}"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
||||||
|
|
||||||
# # msvc编译
|
# # msvc编译
|
||||||
|
|
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
|
@ -68,6 +68,7 @@ jobs:
|
||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
|
CHANGELOG="${CHANGELOG//'\"'/'%22'}"
|
||||||
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
echo "::set-output name=COMMIT_SUMMARY::$(echo "$CHANGELOG")"
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
# msvc编译
|
# msvc编译
|
||||||
|
|
Loading…
Reference in a new issue