apricote / releaser-pleaser

Automate versioning and changelog management for GitHub and GitLab projects.
https://apricote.github.io/releaser-pleaser/
GNU General Public License v3.0
3 stars 1 forks source link

fix(gitlab): hardcoded project id #51

Closed apricote closed 2 months ago

apricote commented 2 months ago

The GitLab project ID was still hardcoded to my playground project on GitLab.com.

This commit instead reads from the predefined GitLab CI/CD variable for the projects ID (CI_PROJECT_ID).

The bug was not released yet, so I will hide this commit message from the Changelog:

codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 22.89%. Comparing base (48d9ede) to head (cc7daf7).

Files with missing lines Patch % Lines
internal/forge/gitlab/gitlab.go 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #51 +/- ## ========================================== - Coverage 22.94% 22.89% -0.06% ========================================== Files 21 21 Lines 1290 1293 +3 ========================================== Hits 296 296 - Misses 976 979 +3 Partials 18 18 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.