Commit Graph

12 Commits

Author SHA1 Message Date
Hekmatullah
33652bcc1e
chore(workflows,fastlane): configure macOS App Store distribution for desktop app (lanes, workflow, screenshots) (#1911) 2025-08-28 20:44:50 +01:00
Hekmatullah
bbbbc84db1
chore: sync missing root files and folders from KMP project template (#1895) 2025-07-30 13:20:26 +05:30
Sk Niyaj Ali
f0d3d72e05
chore(actions): Migrated Android & iOS Workflows to use Fastlane (#1841)
* chore: Update web dependencies

Updated the following dependencies:
- Upgraded `enhanced-resolve` from 5.17.0 to 5.18.0
- Upgraded `karma` from 6.4.3 to 6.4.4
- Upgraded `kotlin-web-helpers` to 2.0.0
- Upgraded `mocha` from 10.7.0 to 10.7.3
- Upgraded `webpack` from 5.93.0 to 5.94.0
- Upgraded `ws` from 8.5.0 to 8.18.0

Removed the following dependencies:
- `@types/eslint`
- `@types/eslint-scope`

Also, updated the multi-platform build and publish workflow to use `niyajali/mifos-mobile-github-actions` instead of `openMF/mifos-mobile-github-actions`.

* ci: Update GitHub Actions workflow

This commit updates the GitHub Actions workflows to:

- Remove the pull request trigger from the `build-and-deploy-site` workflow. The workflow will now only be triggered manually or on a schedule.
- Add `build_ios` as an input to the `multi-platform-build-and-publish` workflow to control whether the iOS app should be built.
- Remove unused inputs from the `multi-platform-build-and-publish` workflow, including `publish_desktop` and `publish_web`.

* chore: Add Fastlane lanes and update workflows

This commit introduces new Fastlane lanes for Android and iOS:

- **Android:**
  - `assembleDebugApks`: Assembles debug APKs.
  - `assembleReleaseApks`: Assembles release APKs using a keystore.
  - `bundlePlayStoreRelease`: Bundles a Play Store release, including generating a version and release notes.
  - `deploy_on_firebase`: Deploys the release APK to Firebase App Distribution.
  - `buildAndSignApp`: A private lane to build and sign the app with provided keystore credentials.
  - `generateVersion`: Generates and sets version information.
  - `generateReleaseNotes`: Generates release notes from git commits.
- **iOS:**
  - `build_ios`: Builds the iOS app with optional configuration (defaults to Debug).
  - `increment_version`: Increments the build number using Firebase App Distribution's latest release.
  - `deploy_on_firebase`: Deploys the iOS app to Firebase App Distribution, including incrementing the build number.
  - `generateReleaseNotes`: Generates release notes from git commits.

It also updates the following workflows:

- **promote-to-production.yml**: Removes the manual trigger and workflow dispatch, making it only triggered by GitHub releases.
- **tag-weekly-release.yml**: Updates the cron schedule to run weekly.
- **multi-platform-build-and-publish.yml**: Switches back to using `openMF/mifos-mobile-github-actions` instead of `niyajali/mifos-mobile-github-actions`.

Additionally, it relocates the keystore to a `keystores` directory, updates the `build.gradle.kts` file to reflect this change, and adds necessary metadata for the Play Store. It also updates the `AppFile` to use the playStorePublishServiceCredentialsFile from the secrets directory and adds a `secrets` directory to the `.gitignore`.

* ci: Remove `publish_android` input from multi-platform workflow

This commit removes the `publish_android` input from the `multi-platform-build-and-publish` workflow.
This input was previously used to control whether the Android app should be published to the Play Store.
Since this functionality is no longer required, the input has been removed to simplify the workflow configuration.

* chore: Remove `repoName` param from `generateReleaseNotes` lane

This commit removes the `repoName` parameter from the `generateReleaseNotes` lane in the Fastfile. The `repoName` parameter is no longer needed as the lane now automatically determines the repository name.

This change simplifies the `generateReleaseNotes` lane and makes it more robust.
2024-12-30 22:24:06 -05:00
Sk Niyaj Ali
14703f6056
chore: Fixed Fastlane & Firebase App Distribution Workflow (#1822)
* Chore: Updated Fastlane and CI for release

This commit adds Fastlane for automating the Android release process and configures CI for internal, beta, and production releases using GitHub Actions.

The following changes were made:

- Added Fastlane configuration files for building, testing, and deploying the app.
- Added GitHub Actions workflows for triggering internal, beta, and production releases.
- Updated .gitignore to exclude Fastlane report files.
- Updated dependency versions in Gemfile.lock.
- Added a README for Fastlane.
- Updated the make_site workflow to trigger on released releases instead of published releases.
2024-11-27 15:19:31 +05:30
kapmaurya
a4758ca6db
chore: Mifos Pay iOS Setup (#1820) 2024-11-26 11:38:02 -05:00
Sk Niyaj Ali
3ce0b36b71
Configured Fastlane & CI Workflow for publishing app to Play Store & GitHub (#1761)
* Configured CI/CD And Fastlane to Release App to Play Store

This commit introduces a comprehensive CI/CD pipeline using Github Actions and Fastlane.

The following
 workflows have been added:

- **On Push:** Builds, archives, and creates Github pre-releases for beta builds. Deploys to Playstore internal track and promotes to beta if specified.
- **Play Publish:** Builds and deploys to Playstore internal track. Optionally promotes to beta.
- **
Production Deploy:** Promotes beta releases to production on the Playstore.
- **Bump our Calendar Version:** Creates monthly releases.
- **Tag Weekly Release:** Tags weekly releases and triggers the On Push workflow for beta builds.

Additionally, Fastlane has been configured to handle deployments to the Playstore and Amazon Appstore. Secret inflation and release note generation have been automated using Github Actions.

* Configured CI/CD And Fastlane to Release App to Play Store

This commit introduces a comprehensive CI/CD pipeline using Github Actions and Fastlane.

The following
 workflows have been added:

- **On Push:** Builds, archives, and creates Github pre-releases for beta builds. Deploys to Playstore internal track and promotes to beta if specified.
- **Play Publish:** Builds and deploys to Playstore internal track. Optionally promotes to beta.
- **
Production Deploy:** Promotes beta releases to production on the Playstore.
- **Bump our Calendar Version:** Creates monthly releases.
- **Tag Weekly Release:** Tags weekly releases and triggers the On Push workflow for beta builds.

Additionally, Fastlane has been configured to handle deployments to the Playstore and Amazon Appstore. Secret inflation and release note generation have been automated using Github Actions.

* fix: Improved pre-commit and pre-push scripts

* Updated Badging

* Updated Badging
2024-09-06 06:19:46 -04:00
Sk Niyaj Ali
2a6dafec5c
Migrated To Kotlin 2.0 (#1751)
* Migrated To Kotlin 2.0

* Workflow CI Update
2024-08-24 12:42:44 -04:00
Rajan Maurya
1d7e571d60 refactor: package name to org.mifospay 2024-04-17 01:33:08 -04:00
Rajan Maurya
1d26610bcb feat: add build-logic and refactor plugin and add datastore module 2024-01-28 08:47:47 -05:00
Naman Dwivedi
8db2af384d implement pan verification 2017-06-23 16:06:25 +05:30
Naman Dwivedi
f6d2009fa5 update gradle gitignore 2017-06-16 23:14:29 +05:30
Naman Dwivedi
16c49489c6 initial mvp-clean project 2017-06-16 22:53:21 +05:30