All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add
getAll
option to download all Gitlab CI pipeline variables into a file
- Improve console info messages.
- Rename command options for ease of understanding, e.g.
sv
=>set
,sav
=>setAll
- Introduce sub-commands to add the possibility to set a variable on the fly, without a
gitlab.env.yml
. - The
token
can be retrieved from env variable. - New commands are :
glci sv <options>
to set one variable.glci sav <options>
to set all variables ingitlab.env.yml
.
- Only serialise non-primitive values (such as object and function).
- Values, such as objects, are now serialised prior to saving in Gitlab.
- The
--url
option became optional. When omitted, the plugin will infer the URL from the git remote. - The
--token
option became optional if a.gitlabrc
file exists.
Initial release of gitlab-ci-variables-setter-cli
plugin.