All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v5.4.0 - 2024-08-27
- Added config file schema support.
The configuration schema is now published at: https://ghalactic.github.io/github-release-from-tag/schema/config.v5.schema.json
Your editor might be able to use this schema to provide autocompletion and validation for your configuration file. For example, if you're using the YAML extension for Visual Studio Code, you can add the following header to your configuration file to enable schema support:
# yaml-language-server: $schema=https://ghalactic.github.io/github-release-from-tag/schema/config.v5.schema.json
assets:
- path: assets/text/file-a.txt
- path: assets/json/file-b.json
optional: true
name: custom-name-b.json
label: Label for file-b.json
In case your editor supports using a $schema
property directly in the YAML
file, the schema has been relaxed to allow this as well:
$schema: https://ghalactic.github.io/github-release-from-tag/schema/config.v5.schema.json
assets:
- path: assets/text/file-a.txt
- path: assets/json/file-b.json
optional: true
name: custom-name-b.json
label: Label for file-b.json
- Fixed parsing of empty configuration files with comments.
v5.3.0 - 2024-08-24
- Markdown heading anchors are now added to release bodies.
Anchors are now added to headings in the release body. This makes it possible to link directly to a specific section of the release body, either from within the release body itself, or externally once the release is created. You would probably expect GitHub to do this as a part of its release body rendering, just like it does for READMEs, but surprisingly it doesn't. So, now this action will do it for you.
v5.2.1 - 2024-06-09
- Dependency updates.
v5.2.0 - 2024-03-09
- This action now uploads checksum assets when a release has assets associated with it. Checksum assets are files that contain the checksums of the other release assets. This feature is enabled by default, but can be disabled via configuration.
- Asset checksums are now available in the
assets
output. These checksums are always available, even if the checksum assets feature is disabled.
v5.1.1 - 2024-03-07
- Updated example workflow to use the
inputs
context instead ofgithub.event.inputs
. This is now possible because GitHub unified their Actions inputs across manual and reusable workflows.
v5.1.0 - 2024-03-07
- GitHub Markdown alerts are now supported in tag annotation bodies.
Tip
This means you can add alerts like this one to your tag annotation bodies, and they will appear in the published release. To add an alert, use the following syntax:
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
v5.0.1 - 2024-03-06
- Dependency updates.
v5.0.0 - 2023-08-28
- This action now runs on the
node20
runner instead ofnode16
. If you are using this action on GitHub Enterprise Server, you will need to ensure your runners supportnode20
before upgrading to this version.
v4.2.0 - 2023-08-28
- Reverted the
v4
version of this action to run on Node.js16.x
instead of20.x
. The switch to20.x
was causing issues with GitHub Enterprise Server users who don't have support fornode20
runners yet. Av5
version of this action will be released shortly that will run on Node.js20.x
.
v4.1.3 - 2023-08-26
- Fixed further internal issues with GitHub Actions shared workflows. No effect on the action itself.
v4.1.2 - 2023-08-26
- Fixed further internal issues with GitHub Actions shared workflows. No effect on the action itself.
v4.1.1 - 2023-08-26
- Fixed internal GitHub Actions shared workflow permissions issues. No effect on the action itself.
v4.1.0 - 2023-08-26
- This action now runs on Node.js
20.x
instead of16.x
.
v4.0.1 - 2023-05-21
- Updated examples in the README to reference
v4
.
v4.0.0 - 2023-05-21
This action has been migrated to a new organization named Ghalactic that is
dedicated to housing high-quality GitHub actions. Please update your workflows
to reference the action's new location at
ghalactic/github-release-from-tag@v4
.
- Update the uses value from
eloquent/github-release-action@v3
toghalactic/github-release-from-tag@v4
. - Rename any configuration files from
.github/release.eloquent.yml
to.github/github-release-from-tag.yml
.
- Configuration files must now be located at
.github/github-release-from-tag.yml
.
- The repo was moved to
ghalactic/github-release-from-tag
.
v3.2.1 - 2023-05-14
- Converted to TypeScript.
v3.2.0 - 2023-04-06
- Switched from Docker to Node.js runtime for faster startup times.
- Added
@octokit/plugin-retry
to improve resilience against transient network issues.
v3.1.4 - 2023-02-06
- Fixed Git "dubious ownership" error that occurs due to the way GitHub Actions sets up ownership of the workspace directory. This action now explicitly adds the workspace directory to Git's list of "safe" directories to avoid the error.
v3.1.3 - 2023-01-17
- Fixed rendering of workflow summaries.
v3.1.2 - 2022-11-21
- Replaced usage of deprecated
set-output
GitHub Actions command.
v3.1.1 - 2022-09-13
- The attribution comment will now be appended to the end of the release body instead of the beginning. This is a precaution, in case having the comment at the beginning of the body might cause Dependabot to truncate more of the actual release notes.
v3.1.0 - 2022-09-11
- Actions job summaries will now include information about the user that created the tag.
- Added the
summaryEnabled
input, which can be used to disable job summary creation. - Added the
summary.enabled
config option, which can be used to disable job summary creation. - Added the
taggerAvatarUrl
output, which contains the avatar URL of the GitHub user who created the tag. - Added the
taggerLogin
output, which contains the username of the GitHub user who created the tag.
- Removed
remark-github
from the Markdown processor. It was causing user mentions and other references to render without hover cards in release bodies. It was also likely to cause more trouble when integrating with GitHub Enterprise Server.
v3.0.0 - 2022-09-10
- Actions job summaries will now be created when the action is successful.
- Workflow annotations containing the release URL will no longer be created when the action is successful. This feature has been replaced by job summaries.
- [BC BREAK] Release bodies will no longer be rendered as HTML, and instead
will undergo Markdown parsing and transformation to address the handling of
Markdown line breaks.
- This is primarily to address #36 and #37.
- Most Markdown / GFM features are now handled by Remark (with
remark-gfm
andremark-github
) instead of GitHub's own Markdown API. - There could be lots of subtle changes to the way release bodies are rendered. In practice, you will probably not even notice the difference (I hope).
- [BC BREAK] The
tagBodyRendered
output will no longer contain HTML, but instead will contain a transformed version of the Markdown from the tag annotation body.
- Dependabot should no longer render empty release notes inside of dependency update pull request descriptions for dependencies that use this action to manage their releases (#36).
- Issue links in release bodies should no longer fail to render (#37).
v2.1.2 - 2022-09-01
- Fixed stripping of SSH signatures from tag annotation bodies (the previous fix did not actually work).
v2.1.1 - 2022-09-01
- Fixed stripping of SSH signatures from tag annotation bodies.
- Fixed excessive newlines being printed because of
an issue in
@actions/toolkit
.
v2.1.0 - 2022-08-03
- Support for specifying release assets to upload via
the new
assets
action input. - Support for optional release assets.
v2.0.0 - 2022-06-05
- [BC BREAK] This action was completely re-written in
v2
with support for many new features. With that being said, it should be pretty much 100% compatible withv1
. - [BC BREAK] The
GITHUB_TOKEN
environment variable can no longer be used to supply a custom GitHub token. Use thetoken
action input instead. - [BC BREAK] Improved the rendering of line breaks in tag annotation message bodies. See Markdown line breaks for more information.
- [BC BREAK] Tag names like
v1
andv1.2
are now considered "stable" as per GitHub's recommendations for action versioning.
- Support for uploading release assets.
- Support for appending automated release notes.
- Support for creating release discussions.
- Support for creating draft releases.
- Support for creating reactions for releases and release discussions.
- Support for overriding release stability detection.