Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spec] Publishing MAUI apps should be consistent across platforms from the command line for CI/CD #3283

Closed
2 tasks done
Redth opened this issue Nov 5, 2021 · 4 comments
Closed
2 tasks done
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) proposal/open

Comments

@Redth
Copy link
Member

Redth commented Nov 5, 2021

Goal: Make dotnet publish relatively consistent and relatively free of platform specific arguments required...

Consider the following scenario for building in CI:
dotnet publish -f net6.0-android -c Release -o ./artifacts

Expected output:

  • ./artifacts/com.app.id.aab (Signed)
  • ./artifacts/com.app.id.apk (Signed)

dotnet publish -f net6.0-ios -c Release -o ./artifacts

Expected output:

@Redth Redth added proposal/open area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) labels Nov 5, 2021
@jonathanpeppers
Copy link
Member

I remember there was some talk about making dotnet build be "the way" and potentially deprecating dotnet publish. (I can't find a public GitHub issue on it, though). I know the WASM team was going to move to using dotnet build as much as possible.

Is there a reason dotnet build -c Release isn't sufficient here? It also has an -o argument; that just changes bin\Release\ to something else.

@HobDev
Copy link

HobDev commented Feb 14, 2022

Building CI/CD pipeline would become simpler with this.

@RichardMarsh
Copy link

Would just like to add that this would be great. We are using CI/CD to produce the apps and push them to app center. Right now the tooling to do this doesn't feel well documented or consistent for iOS and Android.

@Redth Redth closed this as completed Dec 2, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jan 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) proposal/open
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants