Releases: ghalactic/github-release-from-tag
v5.4.0
Added
- Added config file schema support.
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
- Fixed parsing of empty configuration files with comments.
v5
This tag currently points to v5.4.0
v5.3.0
Added
- Markdown heading anchors are now added to release bodies.
Markdown heading anchors
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.
In order to be able to see that this feature is working, it helps for this page to be really tall. So here's an extremely long cat to help you out:
v5.2.1
Fixed
- Dependency updates.
v5.2.0
Added
- 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
Fixed
- 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
- 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
Fixed
- Dependency updates.
v5.0.0
Changed
- 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
Changed
- 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
.