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: create CHANGELOG.md if it does not exist #108

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

apricote
Copy link
Owner

During a previous refactoring (#15) the Changelog generation logic stopped creating the file if it did not exist. This makes sure that the file actually gets created. This is primarily required while onboarding new repositories.

Closes #85

@apricote apricote added the bug Something isn't working label Nov 15, 2024
@apricote apricote self-assigned this Nov 15, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 24.16%. Comparing base (e9b3ba8) to head (77ba302).

Files with missing lines Patch % Lines
internal/git/git.go 0.00% 6 Missing ⚠️
releaserpleaser.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
- Coverage   24.22%   24.16%   -0.06%     
==========================================
  Files          22       22              
  Lines        1651     1655       +4     
==========================================
  Hits          400      400              
- Misses       1231     1235       +4     
  Partials       20       20              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@apricote apricote merged commit 11f8403 into main Nov 15, 2024
4 checks passed
@apricote apricote deleted the fix-missing-changelog branch November 15, 2024 17:08
apricote pushed a commit to hetznercloud/fleeting-plugin-hetzner that referenced this pull request Nov 15, 2024
…etznercloud/fleeting-plugin-hetzner!172)

This MR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [apricote/releaser-pleaser](https://gitlab.com/apricote/releaser-pleaser) | repository | minor | `v0.4.2` -> `v0.5.0` |

---

### Release Notes

<details>
<summary>apricote/releaser-pleaser (apricote/releaser-pleaser)</summary>

### [`v0.5.0`](https://gitlab.com/apricote/releaser-pleaser/blob/HEAD/CHANGELOG.md#v050)

[Compare Source](https://gitlab.com/apricote/releaser-pleaser/compare/v0.4.2...v0.5.0)

##### Features

-   **gitlab**: make job dependencies configurable and run immediately ([#&#8203;101](apricote/releaser-pleaser#101))
-   **github**: mark pre-releases correctly ([#&#8203;110](apricote/releaser-pleaser#110))

##### Bug Fixes

-   use commits with slightly invalid messages in release notes ([#&#8203;105](apricote/releaser-pleaser#105))
-   create CHANGELOG.md if it does not exist ([#&#8203;108](apricote/releaser-pleaser#108))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNy4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: failure on missing CHANGELOG.md file when preparing release PR
2 participants