Skip to content

Commit

Permalink
ci: attemp 3 to fix styling loss in Github release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ellet0 committed May 20, 2024
1 parent d8b9fb8 commit adb061e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ jobs:

- name: ⚠️ Validate release notes response
run: |
if [[ -z "$(echo '${{ steps.fetch-release-notes-request.outputs }}' | jq -r '.body')" ]]; then
releaseNotesResponse="${{ fromJson(steps.fetch-release-notes-request.outputs.response) }}"
if [[ -z "$releaseNotesResponse" || "$releaseNotesResponse" == "null" ]]; then
echo "Error: Release notes response is empty."
exit 1
fi
# TODO: There is a bug that cause styling loss: https://github.com/singerdmx/flutter-quill/issues/1880
- name: 📝 Update version and CHANGELOG for all the packages
run: dart ./scripts/update_package_version.dart ${{ steps.extract_version.outputs.VERSION }} '${{ fromJson(steps.fetch-release-notes-request.outputs.response).body }}'
run: dart ./scripts/update_package_version.dart ${{ steps.extract_version.outputs.VERSION }} ${{ toJson(fromJson(steps.fetch-release-notes-request.outputs.response).body) }}

- name: 💾 Commit updated version and CHANGELOG
id: auto-commit-action
Expand Down

0 comments on commit adb061e

Please sign in to comment.