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

Can't make a first release #68

Open
mpkorstanje opened this issue May 22, 2022 · 2 comments
Open

Can't make a first release #68

mpkorstanje opened this issue May 22, 2022 · 2 comments

Comments

@mpkorstanje
Copy link
Contributor

👓 What did you see?

Given an unreleased project, I can't use polyglot-release to release it:

mpkorstanje@Nyx:~/Projects/cucumber/polyglot-release$ ./polyglot-release 0.9.0
Error: There are no released versions in the changelog yet
# 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]

### Added
- First release of polyglot-release
@aslakhellesoy
Copy link
Contributor

Just ran into the same issue. Workaround:

# Changelog

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

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.0.0]

[Unreleased]: https://github.com/cucumber/blockly/compare/v0.0.0...HEAD
[0.0.0]: https://github.com/cucumber/blockly/compare/818c1c282d9a685c8b9924f39a153a04b14f6b9e...v0.0.0

Followed by git tag v0.0.0

Then it works.

@luke-hill
Copy link

Ran into the same issue on cucumber-ruby when releasing v9. We made the CHANGELOG.old.md but the new changelog still needed a version (Essentially the same issue you commented on).

Our workaround was to include the last 2 versions manually formatted in the new changelog, then the rest got canned

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

3 participants