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

Merge url instead of commit url #284

Open
samuelpietra opened this issue Feb 15, 2024 · 0 comments
Open

Merge url instead of commit url #284

samuelpietra opened this issue Feb 15, 2024 · 0 comments

Comments

@samuelpietra
Copy link

Setup

Current version: 2.4.0

Config file:

{
  "commitLimit": false,
  "commitUrl": "https://github.com/samuelpietra/react-samples/commit/{id}",
  "compareUrl": "https://github.com/samuelpietra/react-samples/compare/{from}…{to}",
  "ignoreCommitPattern": "^\\[(Bump)\\]",
  "includeBranch": ["develop"],
  "sortCommits": "date-desc",
  "startingVersion": "0.0.1",
  "tagPattern": "([0-9]+.[0-9]+.[0-9]+)?$",
  "template": "compact",
  "unreleased": true
}

Description

When trying to generate the changelog, randomly most commits prefer usign the merge url (of the pull request that was merged into develop) than the commit url (of the commit hash generated after the merge).

This also impacted the sorting of commits, thus grouping hash commits and merge commits separately - as the "sortCommits": "date-desc" setting was passed and the branch history is linear.

Evidence

### Changelog

#### [Unreleased](https://github.com/samuelpietra/react-samples/compare/1.0.0…HEAD)

### [1.0.0](https://github.com/samuelpietra/react-samples/compare/0.0.1…1.0.0)

> 15 February 2024

#### 0.0.1

> 15 February 2024

- [Chore] Updates both vite and vitest [`#13`](https://github.com/samuelpietra/react-samples/pull/13)
- [Chore] Fixes import sorting [`#12`](https://github.com/samuelpietra/react-samples/pull/12)
- [Chore] Improves navigations for both browser and UI [`#10`](https://github.com/samuelpietra/react-samples/pull/10)
- [Chore] Sets up material-ui and react-icons [`#9`](https://github.com/samuelpietra/react-samples/pull/9)
- [Chore] Adds vitest and coverages initial test files [`#8`](https://github.com/samuelpietra/react-samples/pull/8)
- [Feature] Creates Layout compound component [`#7`](https://github.com/samuelpietra/react-samples/pull/7)
- [Chore] Sets up react-router-dom [`#6`](https://github.com/samuelpietra/react-samples/pull/6)
- [Style] Improves SandboxPage presentation [`#5`](https://github.com/samuelpietra/react-samples/pull/5)
- [Feature] Adds Column and Row components [`#4`](https://github.com/samuelpietra/react-samples/pull/4)
- [Chore] Sets up styled-components [`#3`](https://github.com/samuelpietra/react-samples/pull/3)
- [Chore] Sets up eslint and prettier [`#2`](https://github.com/samuelpietra/react-samples/pull/2)
- [Docs] Updates README.MD (#11) [`3d567e1`](https://github.com/samuelpietra/react-samples/commit/3d567e13887b2b31d9a3eab5cf0c28e85ac696d3)
- [Chore] Configures path aliases (#1) [`ab8df9c`](https://github.com/samuelpietra/react-samples/commit/ab8df9ca43ee4e5982f2b500a28f4ff90b7fa824)
- initial commit [`4316191`](https://github.com/samuelpietra/react-samples/commit/43161912fc27d01d658b987ab8183a46571d0f2f)

Tags comparison will fail on remote due to existing only locally until I solve this problem.

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

No branches or pull requests

1 participant