1

I am trying to upload Artifacts Zip from Codemagic to Appcenter using a built-in environment using a Post-publish script

appcenter distribute release --group QC  --file "${zipPath}"  --release-notes 'App submission via Codemagic' --app CASHIN/INTRO-WINDOWS --token "" --build-version "1.0.${PROJECT_BUILD_NUMBER}" --quiet

PROJECT_BUILD_NUMBER not work

Mikhail Tokarev
  • 2,843
  • 1
  • 14
  • 35
Amr Saied
  • 38
  • 7
  • Try removing the `$` sign inside the bracket: `${$PROJECT_BUILD_NUMBER}` – boxdog Oct 18 '22 at 01:04
  • Same Issue appcenter distribute release --group QC --file "${zipPath}" --release-notes 'App submission via Codemagic' --app CASHIN/INTRO-WINDOWS --token "" --build-version "1.0.${PROJECT_BUILD_NUMBER}" --quiet – Amr Saied Oct 18 '22 at 08:38
  • 1
    what exactly doesn't work? you can add `set -x` in post-publish script to see what exact commands are executed – Mikhail Tokarev Oct 18 '22 at 16:38

0 Answers0