Skip to content

fullReleaseNotes for npm does nothing #299

Open
@perry-mitchell

Description

🐛 Bug Report

Using fullReleaseNotes has no effect:

image

To Reproduce

Use this config:

module.exports = {
    branches: ["master"],
    plugins: [
        "@semantic-release/commit-analyzer",
        "@semantic-release/release-notes-generator",
        "@semantic-release/changelog",
        "@semantic-release/npm",
        ["@semantic-release/exec", {
            publishCmd: "npm run set-version"
        }],
        ["@semantic-release/git", {
            assets: [
                "CHANGELOG.md",
                "package.json",
                "package-lock.json",
                "source/version.ts"
            ],
            message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
        }],
        "@semantic-release/gitlab",
        ["@semantic-release/exec", {
            publishCmd: "npm run deploy"
        }],
        ["@intuit/semantic-release-slack", {
            "platforms": ["npm"],
            "fullReleaseNotes": true
        }]
    ]
};

Expected behavior

Release notes should be included in slack.

Run npx envinfo

Paste the results here:

  System:
    OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 38.36 GB / 62.70 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.10.0 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 8.19.4 - ~/leadoo/bot-icons/node_modules/.bin/npm
  Managers:
    Apt: 2.4.11 - /usr/bin/apt
    pip3: 22.0.2 - /usr/bin/pip3
  Utilities:
    CMake: 3.22.1 - /usr/bin/cmake
    Make: 4.3 - /usr/bin/make
    GCC: 11.4.0 - /usr/bin/gcc
    Git: 2.34.1 - /usr/bin/git
    FFmpeg: 4.4.2 - /usr/bin/ffmpeg
    Curl: 7.81.0 - /usr/bin/curl
  Virtualization:
    Docker: 20.10.14 - /usr/bin/docker
    VirtualBox: 6.1.38 - /usr/bin/vboxmanage
  SDKs:
    Android SDK:
      API Levels: 30
      Build Tools: 30.0.3, 31.0.0
      System Images: android-30 | Google APIs Intel x86 Atom
  IDEs:
    Android Studio: AI-203.7717.56.2031.7935034
    Nano: 6.2 - /usr/bin/nano
    VSCode: 1.84.2 - /usr/bin/code
    Vim: 8.2 - /usr/bin/vim
  Languages:
    Bash: 5.1.16 - /usr/bin/bash
    Java: 11.0.21 - /usr/bin/javac
    Perl: 5.34.0 - /usr/bin/perl
    Python3: 3.10.12 - /usr/bin/python3
  Databases:
    MySQL: 0.22.04.1 - /usr/bin/mysql
    SQLite: 3.32.2 - /home/perry/Android/Sdk/platform-tools/sqlite3
  Browsers:
    Brave Browser: 119.1.60.125
    Chrome: 119.0.6045.199

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions