Skip to content

Commit

Permalink
fix: Fix release version in flutter (#24)
Browse files Browse the repository at this point in the history
ci: Update release-please config to match other repos
  • Loading branch information
thelukewalton committed Aug 20, 2024
1 parent 969d1d6 commit ba54835
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 9 deletions.
64 changes: 61 additions & 3 deletions .release-please/release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,64 @@
".": {
"release-type": "node"
}

}
}
},
"extra-files": [
"outputs/flutter/icons.g.dart",
"scripts/templates/icons.dart.template"
],
"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
}
]
}
8 changes: 5 additions & 3 deletions outputs/flutter/icons.g.dart
Original file line number Diff line number Diff line change
@@ -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}
Expand Down Expand Up @@ -3251,7 +3253,7 @@ abstract class ZetaIcons {
static const IconData zoom_out_sharp = IconData(0xe219, fontFamily: familySharp, fontPackage: package);
}

// List of all icons.
/// List of all icons.
const Map<String, IconData> icons = {
'activity': ZetaIcons.activity,
'add_alert': ZetaIcons.add_alert,
Expand Down
8 changes: 5 additions & 3 deletions scripts/templates/icons.dart.template
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -32,7 +34,7 @@ abstract class ZetaIcons {
{{sharpIcons}}
}

// List of all icons.
/// List of all icons.
const Map<String, IconData> icons = {
{{iconNames}}
};

0 comments on commit ba54835

Please sign in to comment.