Skip to content

[Bug]: PublishToAppSource workflow publishes multi-app repos in alphabetical order instead of dependency order #2004

@ivandjordjevic

Description

@ivandjordjevic

AL-Go version

v8.0

Describe the issue

In multi-project repositories with inter-app dependencies, the PublishToAppSource workflow currently processes apps alphabetically instead of by dependency hierarchy.

This causes publish failures when dependent apps have not yet been uploaded to AppSource.

Expected behavior

Apps should be published in dependency order (e.g., Core → Mid-tier → Top-level) to ensure dependent apps reference the correct same-release versions.

Steps to reproduce

  1. Create a multi-project repository with three-tier dependencies, for example:
    • Core → Base platform app (level 1)
    • HR → Depends on App_Core (level 2)
    • Finance → Depends on App_Core (level 2)
    • Budgets → Depends on Finance (level 3)
  2. Configure all apps for the same release version (e.g., 27.0.2543.0) and update dependencies.
  3. Run the PublishToAppSource workflow from AL-Go (.github/workflows/PublishToAppSource.yml).
  4. Observe that apps are processed and published alphabetically (Budgets first), not in dependency order.
  5. Since App Budgeting depends on App Finance, the AppSource validation fails due to missing dependencies.

Additional context (logs, screenshots, etc.)

Some dependencies could not be found for the country/region 'US' and release '27.0.0' of Business Central.
Make sure that these dependencies are part of your submission or that they have already been uploaded to AppSource and that they are available for the targeted country/region and release:
[App Name] ([guid]) by [publisher] version '27.0.2543.0'.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions