Skip to content

Commit

Permalink
fix: Fix bugs from previous release (#22)
Browse files Browse the repository at this point in the history
fix: On release trigger
fix: flutter publish dir
fix: index.ts points to correct file
  • Loading branch information
thelukewalton authored Aug 20, 2024
1 parent f176eed commit 7d7a085
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI - On Release

on:
workflow_dispatch:
push:
tags:
- "zeta-icons-v[0-9]+.[0-9]+.[0-9]+*"
- "*"
workflow_dispatch:

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_zeta_flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
with:
repo: ZebraDevs/zeta_flutter
branch: "update-zeta-icons"
source_dir: "./outputs/dart/."
source_dir: "./outputs/flutter/."
destination_dir: "lib/generated/icons"
commit_msg: "Update icons"
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import iconManifest from "./outputs/icon-manifest.json";
import { type IconManifest } from "./scripts/types/customTypes.js";
export { ZetaIconNameList } from "./outputs/definitions/icon-types.js";
export { ZetaIconNameList } from "./outputs/web/icon-types.js";

const convertedIconManifest = new Map(Object.entries(iconManifest)) as IconManifest;

export { convertedIconManifest as iconManifest };

export type { ZetaIconName } from "./outputs/definitions/icon-types.js";
export type { ZetaIconName } from "./outputs/web/icon-types.js";
export type * from "./scripts/types/customTypes.js";

0 comments on commit 7d7a085

Please sign in to comment.