From ee37dd0eca2097714f99dbd9383005d35c7a1a7f Mon Sep 17 00:00:00 2001 From: Luke Walton Date: Tue, 20 Aug 2024 14:45:12 +0100 Subject: [PATCH] fix: Fix release version in flutter (#24) ci: Update release-please config to match other repos --- .release-please/release-please-config.json | 63 ++++++++++++++++++++-- outputs/flutter/icons.g.dart | 6 ++- scripts/templates/icons.dart.template | 6 ++- 3 files changed, 68 insertions(+), 7 deletions(-) diff --git a/.release-please/release-please-config.json b/.release-please/release-please-config.json index 60642489..17e51c7e 100644 --- a/.release-please/release-please-config.json +++ b/.release-please/release-please-config.json @@ -3,6 +3,63 @@ ".": { "release-type": "node" } - - } -} + }, + "extra-files": [ + "outputs/flutter/icons.g.dart" + ], + "changelog-sections": [ + { + "type": "feat", + "section": "โœจ New Features" + }, + { + "type": "fix", + "section": "๐Ÿชฒ Bug Fixes" + }, + { + "type": "revert", + "section": "๐Ÿ‘€ Reverts" + }, + { + "type": "docs", + "section": "๐Ÿ“ˆ Documentation" + }, + { + "type": "deps", + "section": "โ›“๏ธ Dependencies" + }, + { + "type": "test", + "section": "๐Ÿงช Tests" + }, + { + "type": "chore", + "section": "๐Ÿงน Miscellaneous Chores" + }, + { + "type": "perf", + "section": "Performance Improvements", + "hidden": true + }, + { + "type": "refactor", + "section": "Code Refactoring", + "hidden": true + }, + { + "type": "style", + "section": "Styles", + "hidden": true + }, + { + "type": "build", + "section": "Build System", + "hidden": true + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ] +} \ No newline at end of file diff --git a/outputs/flutter/icons.g.dart b/outputs/flutter/icons.g.dart index cee78da5..9736167a 100644 --- a/outputs/flutter/icons.g.dart +++ b/outputs/flutter/icons.g.dart @@ -1,11 +1,13 @@ -// ignore_for_file: public_member_api_docs, constant_identifier_names +// ignore_for_file: constant_identifier_names import 'package:flutter/material.dart'; // This file is automatically generated by the zeta-icons repository // DO NOT MODIFY /// Current version of Zeta Icons -const zetaIconsVersion = 'VERSION_NUM'; +// x-release-please-start-version +const zetaIconsVersion = '0.5.5'; +// x-release-please-end /// Zeta Icons. Full list of icons can be found at [Zeta Icons](https://zeta-icons.web.app/). /// {@category Assets} diff --git a/scripts/templates/icons.dart.template b/scripts/templates/icons.dart.template index 84b0ff9b..55f32748 100644 --- a/scripts/templates/icons.dart.template +++ b/scripts/templates/icons.dart.template @@ -1,11 +1,13 @@ -// ignore_for_file: public_member_api_docs, constant_identifier_names +// ignore_for_file: constant_identifier_names import 'package:flutter/material.dart'; // This file is automatically generated by the zeta-icons repository // DO NOT MODIFY /// Current version of Zeta Icons -const zetaIconsVersion = 'VERSION_NUM'; +// x-release-please-start-version +const zetaIconsVersion = '0.5.5'; +// x-release-please-end /// Zeta Icons. Full list of icons can be found at [Zeta Icons](https://zeta-icons.web.app/). /// {@category Assets}