Skip to content

Commit

Permalink
マイルストーンの説明文をエスケープできない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
h-sugawara committed Dec 26, 2023
1 parent 8e955ce commit 86105e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
- name: Set up a new release
if: steps.merged_pr.outputs.status == 'yes'
id: new_release
env:
milestone: ${{ toJSON(github.event.pull_request.milestone) }}
run: |
milestone=$(echo '${{ toJSON(github.event.pull_request.milestone) }}' | jq -r)
if [[ "$(echo "${milestone}" | jq -r '.title')" =~ ^v[0-9]\.[0-9]+\.[0-9]+$ ]] && [ ${#BASH_REMATCH[@]} -gt 0 ]; then
echo "name=$(echo "${milestone}" | jq -r '.title')" >> $GITHUB_OUTPUT
elif [[ "${{ steps.latest_release_tag.outputs.result }}" =~ ^v[0-9]\.[0-9]+\.[0-9]+$ ]] && [ ${#BASH_REMATCH[@]} -gt 0 ]; then
Expand Down

0 comments on commit 86105e5

Please sign in to comment.