From 8edf55663e913f667ae1fa67049436dc396cd466 Mon Sep 17 00:00:00 2001 From: f3ath Date: Sun, 7 Jan 2024 10:11:18 -0800 Subject: [PATCH] Release --- CHANGELOG.md | 5 +++++ lib/src/cli/command/bump_command.dart | 1 - lib/src/cli/config.dart | 4 ++-- lib/src/{ => template}/diff.dart | 2 +- lib/src/{ => template}/tag.dart | 2 +- lib/src/{ => template}/template.dart | 0 pubspec.yaml | 4 ++-- 7 files changed, 11 insertions(+), 7 deletions(-) rename lib/src/{ => template}/diff.dart (80%) rename lib/src/{ => template}/tag.dart (75%) rename lib/src/{ => template}/template.dart (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3a0176..7524b9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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). +## [0.2.5] - 2024-01-07 +### Changed +- Bump dependencies + ## [0.2.4] - 2023-10-10 ### Changed - Bumped dependencies @@ -108,6 +112,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial version +[0.2.5]: https://github.com/f3ath/cider/compare/0.2.4...0.2.5 [0.2.4]: https://github.com/f3ath/cider/compare/0.2.3...0.2.4 [0.2.3]: https://github.com/f3ath/cider/compare/0.2.2...0.2.3 [0.2.2]: https://github.com/f3ath/cider/compare/0.2.1...0.2.2 diff --git a/lib/src/cli/command/bump_command.dart b/lib/src/cli/command/bump_command.dart index c5de4d7..a6e06b6 100644 --- a/lib/src/cli/command/bump_command.dart +++ b/lib/src/cli/command/bump_command.dart @@ -33,7 +33,6 @@ class BumpCommand extends CiderCommand { Future exec(Project project) async { final part = argResults!.command?.name ?? (throw ArgumentError('Version part must be specified')); - final result = await project.bumpVersion(mutations[part]!, keepBuild: argResults!['keep-build'], bumpBuild: argResults!['bump-build'], diff --git a/lib/src/cli/config.dart b/lib/src/cli/config.dart index 5f5b0cc..efbae00 100644 --- a/lib/src/cli/config.dart +++ b/lib/src/cli/config.dart @@ -1,5 +1,5 @@ -import 'package:cider/src/diff.dart'; -import 'package:cider/src/tag.dart'; +import 'package:cider/src/template/diff.dart'; +import 'package:cider/src/template/tag.dart'; class Config { Config( diff --git a/lib/src/diff.dart b/lib/src/template/diff.dart similarity index 80% rename from lib/src/diff.dart rename to lib/src/template/diff.dart index 8761eab..ed961fb 100644 --- a/lib/src/diff.dart +++ b/lib/src/template/diff.dart @@ -1,4 +1,4 @@ -import 'package:cider/src/template.dart'; +import 'package:cider/src/template/template.dart'; final class Diff extends Template { const Diff(super.template); diff --git a/lib/src/tag.dart b/lib/src/template/tag.dart similarity index 75% rename from lib/src/tag.dart rename to lib/src/template/tag.dart index 5c0e633..717a6f4 100644 --- a/lib/src/tag.dart +++ b/lib/src/template/tag.dart @@ -1,4 +1,4 @@ -import 'package:cider/src/template.dart'; +import 'package:cider/src/template/template.dart'; final class Tag extends Template { const Tag(super.template); diff --git a/lib/src/template.dart b/lib/src/template/template.dart similarity index 100% rename from lib/src/template.dart rename to lib/src/template/template.dart diff --git a/pubspec.yaml b/pubspec.yaml index c42955b..d8586cc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: cider -version: 0.2.4 +version: 0.2.5 description: Tools for Dart package maintainers. Automates changelog and pubspec updates. homepage: https://github.com/f3ath/cider repository: https://github.com/f3ath/cider @@ -12,7 +12,7 @@ dependencies: markdown: ^7.0.0 path: ^1.6.0 pub_semver: ^2.0.0 - version_manipulation: ^0.1.1 + version_manipulation: ^0.2.0 yaml: ^3.1.0 rfc_6901: ^0.2.0 pubspec_parse: ^1.0.0