Merge pull request 'dev' (#31) from dev into master

Reviewed-on: #31
This commit is contained in:
fanantenana 2025-02-06 12:50:43 +00:00
commit 1c5f722882
2 changed files with 5 additions and 18 deletions

View File

@ -158,23 +158,23 @@ jobs:
echo "${FEATURES:-No features found.}" echo "${FEATURES:-No features found.}"
echo "" echo ""
echo "### Bug Fixes" echo "### Bug Fixes"
BUG_FIXES=$(echo "$COMMITS" | grep "fix:" | sed -E 's/^([a-f0-9]+) fix: /- (#\1) /g') BUG_FIXES=$(echo "$COMMITS" | grep "fix:" || true | sed -E 's/^([a-f0-9]+) fix: /- (#\1) /g')
echo "${BUG_FIXES:-No bug fixes found.}" echo "${BUG_FIXES:-No bug fixes found.}"
echo "" echo ""
echo "### Refactors" echo "### Refactors"
REFACTOR=$(echo "$COMMITS" | grep "refactor:" | sed -E 's/^([a-f0-9]+) refactor: /- (#\1) /g') REFACTOR=$(echo "$COMMITS" | grep "refactor:" || true | sed -E 's/^([a-f0-9]+) refactor: /- (#\1) /g')
echo "${REFACTOR:-No refactors found.}" echo "${REFACTOR:-No refactors found.}"
echo "" echo ""
echo "### Style Changes" echo "### Style Changes"
STYLE=$(echo "$COMMITS" | grep "style:" | sed -E 's/^([a-f0-9]+) style: /- (#\1) /g') STYLE=$(echo "$COMMITS" | grep "style:" || true | sed -E 's/^([a-f0-9]+) style: /- (#\1) /g')
echo "${STYLE:-No style changes found.}" echo "${STYLE:-No style changes found.}"
echo "" echo ""
echo "### Chores" echo "### Chores"
CHORES=$(echo "$COMMITS" | grep "chore:" | sed -E 's/^([a-f0-9]+) chore: /- (#\1) /g') CHORES=$(echo "$COMMITS" | grep "chore:" || true | sed -E 's/^([a-f0-9]+) chore: /- (#\1) /g')
echo "${CHORES:-No chores found.}" echo "${CHORES:-No chores found.}"
echo "" echo ""
echo "### Miscellaneous" echo "### Miscellaneous"
MISC=$(echo "$COMMITS" | grep -v -E "breaking:|feat:|fix:|refactor:|style:|chore:" | sed -E 's/^([a-f0-9]+) /- (#\1) /g') MISC=$(echo "$COMMITS" | grep -v -E "breaking:|feat:|fix:|refactor:|style:|chore:" || true | sed -E 's/^([a-f0-9]+) /- (#\1) /g')
echo "${MISC:-No miscellaneous changes found.}" echo "${MISC:-No miscellaneous changes found.}"
echo "" echo ""
cat "$CHANGELOG_FILE" cat "$CHANGELOG_FILE"

View File

@ -48,19 +48,6 @@ class _MyHomePageState extends State<MyHomePage> {
), ),
body: Center( body: Center(
child: Column( child: Column(
// Column is also a layout widget. It takes a list of children and
// arranges them vertically. By default, it sizes itself to fit its
// children horizontally, and tries to be as tall as its parent.
//
// Column has various properties to control how it sizes itself and
// how it positions its children. Here we use mainAxisAlignment to
// center the children vertically; the main axis here is the vertical
// axis because Columns are vertical (the cross axis would be
// horizontal).
//
// TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
// action in the IDE, or press "p" in the console), to see the
// wireframe for each widget.
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
const Text( const Text(