Skip to content

release verb does not have --auth-user option #106

@JAVS-CI

Description

@JAVS-CI

I'm running github-release v0.8.1. I'm trying to authenticate using the continuous integration user xxxx-ci, trying to create a release for myOrg/automation_sandbox. Here's the command line:

C:\github-release\github-release.exe release --security-token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --auth-user xxxx-ci --user myOrg --repo automation_sandbox --tag build-8.0.0.17

Here's the error that I'm getting:

Error: Invalid trailing arguments: [--auth-user xxxx-ci --user myOrg --repo automation_sandbox --tag build-8.0.0.17]

... with the relevant usage section:

Usage: github-release.exe [global options] <verb> [verb options]
...
Verbs:
...
    release:
        -s, --security-token Github token (required if $GITHUB_TOKEN not set)
        -u, --user           Github repo user or organisation (required if $GITHUB_USERnot set)
        -r, --repo           Github repo (required if $GITHUB_REPO not set)
        -t, --tag            Git tag to create a release from (*)
        -n, --name           Name of the release (defaults to tag)
        -d, --description    Release description, use - for reading a description from stdin (defaults to tag)
        -c, --target         Commit SHA or branch to create release of (defaults to the repository default branch)
            --draft          The release is a draft
        -p, --pre-release    The release is a pre-release

The release verb does not seem to accept --auth-user as an option, which means that the continuous integraton user xxxx-ci can't create a release under the user myOrg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions