github ghalactic/github-release-from-tag v5.4.0

latest releases: v6, v6.0.1, v6.0.0...
12 months ago

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.

Don't miss a new github-release-from-tag release

NewReleases is sending notifications on new releases.