Skip to content

Init command should not create new file when GitReleaseManager.yaml exists #379

Closed
@AdmiringWorm

Description

@AdmiringWorm

Description

When calling the init command a new file is being created (GitReleaseManager.yml) even if a configuration file with the old name (GitReleaseManager.yaml) exists.

Expected Behavior

The generation should fail with an existing file exception even when using the old name.

Actual Behavior

A new file is generated.

Possible Fix

Add a check for the old name.

Steps to Reproduce

  1. Create GitReleaseManager.yaml
  2. run gitreleasemanager init

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions