NAME
Dist::Zilla::Plugin::GitLab::Update - Update a GitLab repo's info on release
VERSION
version 1.0002
SYNOPSIS
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!
then, in your dist.ini:
# default config
[GitLab::Update]
# to override the repo name
[GitLab::Update]
repo = SomeRepo
See "ATTRIBUTES" for more options.
DESCRIPTION
This Dist::Zilla plugin updates the information of the GitLab repository when dzil release
is run.
ATTRIBUTES
remote
-
Specifies the git remote name to be used when guessing the repo name (default
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 formuser/repo
when it belongs to another GitLab user/organization.
AUTHOR
D Ruth Holloway <ruth@hiruthie.me>
COPYRIGHT AND LICENSE
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.