Skip to content

Releases: p3lim/license-year-updater

v2

24 Apr 16:06
Compare
Choose a tag to compare

Changes in v2

  • Added: option to exclude parts of the author
  • Changed: files are now separated by newlines, not spaces
  • Fixed: Current year getting expanded

WARNING: this version contains a breaking change!

If you are using this action to update multiple license files you will need to migrate your workflow.
To migrate to this version, replace your files section from:

with:
  files: license1.txt license2.txt

to:

with:
  files: |
    license1.txt
    license2.txt

This does not affect use-cases of a single file, this is still valid:

with:
  files: license1.txt

The reason behind this change is to support file paths with spaces in them (and I personally like this format better).
Multiline was chosen because workflows cannot pass lists as inputs to actions, only strings or booleans.

v1

06 Oct 04:25
Compare
Choose a tag to compare