atomist / sdm-pack-changelog

Extension Pack for an Atomist SDM to manage changelogs
Apache License 2.0
0 stars 1 forks source link

First unreleased version in changelog doesn't get replaced #1

Closed cdupuis closed 6 years ago

cdupuis commented 6 years ago

The changelog goal fails convert the following changelog into one with a proper released version. This is because of the link using tree instead of compare urls. This tree url format is only for the first version.

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased](https://github.com/atomist/sentry-automation/tree/HEAD)

### Added

-   This is my first test issue. [#1](https://github.com/atomist/sentry-automation/issues/1)
-   Some manual issue was added.

### Fixed

-   adada. [#2](https://github.com/atomist/sentry-automation/issues/2
ddgenome commented 6 years ago

Typically I never have the unreleased link use the tree form. Is that what our template for the initial change log does?

cdupuis commented 6 years ago

Yeah, because you can't use a compare url as there is nothing to compare against, or is there?

ddgenome commented 6 years ago

I've not doing a word that steering that means "prior to the first commit", which is why I started using the tree link for the first commit. I typically see the change log with a 0.1.0 release, but I can see why that would be undesirable. It's easy enough to change the substitution to account for either tree or compare.

cdupuis commented 6 years ago

I'm happy to change the template with a different url for the first version. I just don't know what link that could be.