1.4.0 • Published 7 months ago

email-release-pipe v1.4.0

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Email Release Pipe

semantic-release XO code style Snyk Security CodeQL OpenSSF Scorecard

A Bitbucket pipe to send an email with the release notes of the current release.

YAML Definition

Add the following snippet to the script section of your bitbucket-pipelines.yml file:

script:
  - pipe: docker://tomerh2001/email-release-pipe:latest
    variables:
      USERNAME: $USERNAME
      PASSWORD: $PASSWORD
      FROM: $FROM
      TO: $TO

Variables

NameUsageTypeDefault
USERNAMEUsername for authentication with the email serverMandatoryNone
PASSWORDPassword for authentication with the email serverMandatoryNone
FROMSender's email address.MandatoryNone
TORecipient's email address.MandatoryNone
PACKAGE_NAMEThe name of the package being released.Optionalname from package.json
VERSIONThe version of the package being released.Optionalversion from package.json
SSL_VERIFYWhether to verify the SSL certificate (true/false)OptionalFalse
SUBJECTSubject line for the release email.Optional"Release vversion for package name"

Details

The release notes are either extracted directly from the CHANGELOG.md file or derived from the latest git commit note, converted to HTML, and emailed to the specified recipients. It also interprets emojis found in the markdown content.

The default subject format if not specified is "Release vversion for package name".

Prerequisites

  • Ensure you have set up the required environment variables in your Bitbucket Pipeline for email configuration (e.g., USERNAME, PASSWORD, etc.).
  • If you use commit notes, ensure they are formatted properly for extraction.
  • If you use a changelog, it must be named CHANGELOG.md.
1.4.0

7 months ago

1.3.8

7 months ago

1.3.7

7 months ago

1.3.6

7 months ago

1.3.5

7 months ago

1.3.4

7 months ago

1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.2

7 months ago

1.2.1

7 months ago

1.2.0

7 months ago

1.1.0

7 months ago