Dist::Zilla::Plugin::GitLab::Update - Update a GitLab repo's info on release
version 1.0002
Configure git with your GitLab login name:
$ git config --global gitlab.user LoginName $ git config --global gitlab.token AccessToken
Set up an access token on GitLab, in your profile under "Personal Access Tokens." You must grant the token the api scope!
api
then, in your dist.ini:
# default config [GitLab::Update] # to override the repo name [GitLab::Update] repo = SomeRepo
See "ATTRIBUTES" for more options.
This Dist::Zilla plugin updates the information of the GitLab repository when dzil release is run.
dzil release
remote
Specifies the git remote name to be used when guessing the repo name (default origin).
origin
repo
The name of the GitLab repository. By default the name will be extracted from the URL of the remote specified in the remote option, and if that fails the dist name (from dist.ini) is used. It can also be in the form user/repo when it belongs to another GitLab user/organization.
user/repo
D Ruth Holloway <ruth@hiruthie.me>
This software is copyright (c) 2022 by D Ruth Holloway.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::PluginBundle::GitLab, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::PluginBundle::GitLab
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::PluginBundle::GitLab
For more information on module installation, please visit the detailed CPAN module installation guide.