Skip to content

Create .changes/unreleased folder if it doesn't exist #584

Description

@TheSpyder

Is your feature request related to a problem? Please describe.
changie new fails without a .changes/unreleased folder. This explains why changie init creates a file .changes/unreleased/.gitkeep (since git doesn't retain empty folders).

Describe the solution you'd like
It would be nice if changie new simply created the folder if it doesn't exist, as happens when running changie init. This doesn't seem like a risky thing to do.

Describe alternatives you've considered
Checking the .gitkeep file into git is clearly the intended approach, but I question whether it's really necessary 🤷

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgoPull requests that update Go codegood first issueGood for newcomers

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions