Skip to content

BUGFIX: Use jq to correctly build escaped json - #94

Merged
kdambekalns merged 1 commit into
9.2from
bugfix/harden-release-script
Aug 11, 2026
Merged

BUGFIX: Use jq to correctly build escaped json#94
kdambekalns merged 1 commit into
9.2from
bugfix/harden-release-script

Conversation

@mhsdesign

Copy link
Copy Markdown
Member

Flow sister PR of neos/neos-development-distribution#117

RELEASE_NOTES is user input from jenkins and can contains quotes " which need to be escaped

`RELEASE_NOTES` is user input from jenkins and can contains quotes " which need to be escaped
@mhsdesign

Copy link
Copy Markdown
Member Author

Escaping might kinda too well now :D

image

the newlines must not be escaped .... also needs to be fixed in Neos

@kdambekalns
kdambekalns merged commit d4bcc0a into 9.2 Aug 11, 2026
@mhsdesign

Copy link
Copy Markdown
Member Author

@kdambekalns how should we fix the newlines above :oO \n\n

@kdambekalns

Copy link
Copy Markdown
Member

@kdambekalns how should we fix the newlines above :oO \n\n

Had to understand what you mean… now I got it.

@kdambekalns
kdambekalns deleted the bugfix/harden-release-script branch August 12, 2026 08:06
Comment thread Build/release.sh
@@ -59,5 +59,5 @@ Build/tag-release.sh "${VERSION}" "${BRANCH}" "${BUILD_URL}" || exit 1
#

EXTENDED_RELEASE_NOTES="${RELEASE_NOTES}\n\nSee [changelog](http://flowframework.readthedocs.io/en/${BRANCH}/TheDefinitiveGuide/PartV/ChangeLogs/${VERSION//.}.html) for details."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should work (in bash)

Suggested change
EXTENDED_RELEASE_NOTES="${RELEASE_NOTES}\n\nSee [changelog](http://flowframework.readthedocs.io/en/${BRANCH}/TheDefinitiveGuide/PartV/ChangeLogs/${VERSION//.}.html) for details."
EXTENDED_RELEASE_NOTES="${RELEASE_NOTES}"$'\n\n'"See [changelog](http://flowframework.readthedocs.io/en/${BRANCH}/TheDefinitiveGuide/PartV/ChangeLogs/${VERSION//.}.html) for details."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants