Outputs
published - A boolean value to indicate whether a publishing is happened or not
publishedPackages - A JSON array to present the published packages. The format is [{"name": "@xx/xx", "version": "1.2.0"}, {"name": "@xx/xy", "version": "0.8.9"}]
As I understand, this only makes sense in the context of github (github actions / set-output cli command).
which is far more useful in the context of gitlab. Thus, I would suggest to update the readme to reflect this.
Which brings me to another point, the variable PUBLISHED is used as both input and output, which is problematic.
Edit: this is of course not the case due to the INPUT_ prefix.
The readme currently states outputs:
As I understand, this only makes sense in the context of github (github actions / set-output cli command).
However, internally the script also does
which is far more useful in the context of gitlab. Thus, I would suggest to update the readme to reflect this.
Which brings me to another point, the variableEdit: this is of course not the case due to the INPUT_ prefix.PUBLISHED
is used as both input and output, which is problematic.Here is a merge request which should clarify things https://github.com/un-ts/changesets-gitlab/pull/165