Skip to content

Merge url instead of commit url #284

@samuelpietra

Description

@samuelpietra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions