diff --git a/.agents/skills/elsa-release-announcements/SKILL.md b/.agents/skills/elsa-release-announcements/SKILL.md index e8d46c226..36dbb6d18 100644 --- a/.agents/skills/elsa-release-announcements/SKILL.md +++ b/.agents/skills/elsa-release-announcements/SKILL.md @@ -98,6 +98,7 @@ Use this structure for the announcement pack: Channel guidance: - Discord can be more direct, celebratory, and useful: mention the release, top changes, package availability, and links. Prefer `:rocket:`, `:point_right:`, `:sparkles:`, `:tools:`, `:test_tube:`, and similar Discord emoji shortcodes over raw Unicode emoji. +- Discord posts should suppress link previews. Use the webhook `SUPPRESS_EMBEDS` message flag and wrap links in angle brackets, for example ``. - Discord stable releases should say the stable version is available and ask for feedback on upgrades or regressions. - Discord preview/RC releases should explicitly say they are intended for testing and validation before stable release. - LinkedIn should explain the release in terms of developer value and project momentum, with fewer implementation details. @@ -114,8 +115,8 @@ Use this shape for Discord drafts and adapt the details to the actual release: We've published the stable **Elsa 3.7.0** release across **Elsa Core** and **Elsa Studio**. -:point_right: Core: https://github.com/elsa-workflows/elsa-core/releases/tag/3.7.0 -:point_right: Studio: https://github.com/elsa-workflows/elsa-studio/releases/tag/3.7.0 +:point_right: Core: +:point_right: Studio: This release brings a solid set of improvements around **authentication**, **workflow diagnostics**, **Studio extensibility**, and the **modular server runtime**. diff --git a/.agents/skills/elsa-release-announcements/scripts/announcement_pack.py b/.agents/skills/elsa-release-announcements/scripts/announcement_pack.py index 169ed5fd2..30d3f30a5 100755 --- a/.agents/skills/elsa-release-announcements/scripts/announcement_pack.py +++ b/.agents/skills/elsa-release-announcements/scripts/announcement_pack.py @@ -201,7 +201,7 @@ def render_discord( {intro} -:point_right: Release notes: {release_url} +:point_right: Release notes: <{release_url}> {availability} diff --git a/.agents/skills/elsa-release-announcements/scripts/post_discord.py b/.agents/skills/elsa-release-announcements/scripts/post_discord.py index 8a12bfbda..7f10034d6 100755 --- a/.agents/skills/elsa-release-announcements/scripts/post_discord.py +++ b/.agents/skills/elsa-release-announcements/scripts/post_discord.py @@ -34,7 +34,7 @@ def main() -> int: print("error: provide --bot-token or DISCORD_BOT_TOKEN when using --crosspost", file=sys.stderr) return 1 - payload = json.dumps({"content": message[:2000]}).encode("utf-8") + payload = json.dumps({"content": message[:2000], "flags": 4}).encode("utf-8") status, body = post_payload(webhook_url, payload, wait=args.crosspost) if status not in (200, 204): print(f"error: Discord returned HTTP {status}", file=sys.stderr)