diff --git a/.github/workflows/update-tzdb.yml b/.github/workflows/update-tzdb.yml index 54357d2..b83d4af 100644 --- a/.github/workflows/update-tzdb.yml +++ b/.github/workflows/update-tzdb.yml @@ -64,7 +64,7 @@ jobs: - name: Generate updated timezone data if: steps.check.outputs.changes_detected == 'true' - run: swift run tzdb-gen + run: swift run SwiftTZGenerator - name: Create Pull Request if: steps.check.outputs.changes_detected == 'true' @@ -76,7 +76,7 @@ jobs: body: | This PR updates the timezone database based on changes in the IANA tzdb. - Changes were automatically detected and generated using the `tzdb-gen` tool. + Changes were automatically detected and generated using the `SwiftTZGenerator` tool. ### Changes
diff --git a/Package.swift b/Package.swift index 5b9d275..3eb2bf2 100644 --- a/Package.swift +++ b/Package.swift @@ -12,8 +12,7 @@ let package = Package( .visionOS(.v1) ], products: [ - .library(name: "SwiftTZ", targets: ["SwiftTZ"]), - .executable(name: "tzdb-gen", targets: ["SwiftTZGenerator"]), + .library(name: "SwiftTZ", targets: ["SwiftTZ"]) ], targets: [ // Generator executable diff --git a/README.md b/README.md index 0a6fb24..b4c6084 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ cd SwiftTZ 2. Run the generator to fetch the latest IANA Time Zone Database and generate the `TimeZoneIdentifier.swift` file ```sh -swift run tzdb-gen +swift run SwiftTZGenerator ``` ## Acknowledgments