Skip to content

Releases: ghalactic/github-release-from-tag

v6.1.0

29 Sep 21:41
v6.1.0
30770b9

Choose a tag to compare

Added

Latest release management

This action can now manage when published releases are set as the latest release for the repo.

By default, releases created by this action will be marked as the latest release if they are newly created, non-draft, stable releases. Other strategies for when to set the latest release can be configured via the makeLatest action input or configuration option. Strategies include:

  • if-new: Set the release as latest if it is newly created. This is the default strategy.
  • semver: Set the release as latest if it's a SemVer version greater than the current latest release.
  • legacy: Defer to GitHub's legacy behavior for choosing latest releases.
  • always: Always set the release as latest, even if it's not newly created.
  • never: Never set the release as latest.

v6

03 Sep 11:25
v6
30770b9

Choose a tag to compare

This tag currently points to v6.1.0

v6.0.1

03 Sep 11:36
v6.0.1
786cabb

Choose a tag to compare

Fixed

  • Bumped schema version numbers to match the major version number.
  • Updated examples in the docs to refer to the latest version.

v6.0.0

03 Sep 11:17
v6.0.0
88eb5ae

Choose a tag to compare

Changed

  • This action now runs on the node24 runner instead of node20. If you are using this action on GitHub Enterprise Server, you will need to ensure your runners support node24 before upgrading to this version.

v5.4.0

27 Aug 09:05
v5.4.0
cebdaca

Choose a tag to compare

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

  • Fixed parsing of empty configuration files with comments.

v5

28 Aug 02:06
v5
cebdaca

Choose a tag to compare

This tag currently points to v5.4.0

v5.3.0

24 Aug 05:42
v5.3.0
b75a881

Choose a tag to compare

Added

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:

mofizixlongcat

v5.2.1

09 Jun 03:38
v5.2.1
6b5c944

Choose a tag to compare

Fixed

  • Dependency updates.

v5.2.0

09 Mar 12:45
v5.2.0
75e777a

Choose a tag to compare

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

07 Mar 10:09
v5.1.1
895ee68

Choose a tag to compare

Fixed