Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add .semrel to .gitignore #84

Merged
merged 1 commit into from
Oct 12, 2022
Merged

fix: add .semrel to .gitignore #84

merged 1 commit into from
Oct 12, 2022

Conversation

sfinnman
Copy link
Contributor

@sfinnman sfinnman commented Oct 11, 2022

The pipeline of previous release fails to release a new version. The error related to a dirty git state, due to a folder called .semrel. From what i can tell this folder is generated in the pipeline and contains the releases that semantic-release will push to git.

This PR adds the folder .semrel to .gitignore.

After some further digging - We are using go-semantic-release to generate semantic releases in this repository. The version we are using is semantic-release@latest. Versions of semantic release > 2.0.0 will place plugins in to a .semrel folder in the working directory. These files are contaminating the git state during the pipeline run, causing the goreleaser step to fail.

See: https://github.com/go-semantic-release/semantic-release

The pipeline of previous release fails to release a new version.
The error related to a dirty git state, due to a folder called
.semrel. From what i can tell this folder is generated in the
pipeline and contains the releases that semantic-release will
push to git.

This commit adds the folder .semrel to .gitignore.
@sfinnman sfinnman merged commit 06619e9 into master Oct 12, 2022
@sfinnman sfinnman deleted the ignore-semrel branch October 12, 2022 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants