You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on May 20, 2025. It is now read-only.
Yeah, CodePush has logic for preventing releases with the same code base. If it is issue for you you can use --disable-duplicate-release-error argument. When this flag is set, releasing a package that is identical to the release will produce a warning instead of an error.
Hi Alexander Goncharov (@alexandergoncharov) its more around knowing if theres been JS related changes only. as a native code change can cause incompatibility. and we need to then deploy a new binary to the stores.
I've added a manual step on our CI (circle CI) which allows us to have control on what type of deployment we'll do with a changeset.
And to keep track in git of deployments, I've had to do write some bash to pull out the version of the latest codepush so we can git-tag. ag -o 'v\d\d'
yarn appcenter login --token ${APPCENTER_APIKEY} --disable-telemetry
if [ "${CIRCLE_BRANCH}"=="develop" ];then
yarn codepush:dev:android
yarn codepush:dev:ios
CPANDROIDVERSION=$(yarn codepush:dev:android:version | ag -o 'v\d\d')
CPIOSVERSION=$(yarn codepush:dev:ios:version | ag -o 'v\d\d')
git tag "codepush-android-dev-${CPANDROIDVERSION}"
git tag "codepush-ios-dev-${CPIOSVERSION}"
git push --tags
fi
{"codepush:dev:android:version": "appcenter codepush deployment list --app <appName> --disable-telemetry",
"codepush:dev:ios:version": "appcenter codepush deployment list --app <appName> --disable-telemetry"}
Unfortunately no, there's no command to get the latest app version yet. You have to get this info from appcenter codepush deployment list. Sorry for this. Possible you can use --output json field to get this info in Json as it's easier to parse.
Activity
alexandergoncharov-zz commentedon May 29, 2019
HI Mike James (@export-mike),
Thanks for reporting and sorry for the delay.
What kind of managing do you mean?
Yeah, CodePush has logic for preventing releases with the same code base. If it is issue for you you can use
--disable-duplicate-release-errorargument. When this flag is set, releasing a package that is identical to the release will produce a warning instead of an error.Please let me know if it was helpful.
Thanks,
Alexander
export-mike commentedon Jun 5, 2019
Hi Alexander Goncharov (@alexandergoncharov) its more around knowing if theres been JS related changes only. as a native code change can cause incompatibility. and we need to then deploy a new binary to the stores.
I've added a manual step on our CI (circle CI) which allows us to have control on what type of deployment we'll do with a changeset.
And to keep track in git of deployments, I've had to do write some bash to pull out the version of the latest codepush so we can git-tag.
ag -o 'v\d\d'{"codepush:dev:android:version": "appcenter codepush deployment list --app <appName> --disable-telemetry", "codepush:dev:ios:version": "appcenter codepush deployment list --app <appName> --disable-telemetry"}export-mike commentedon Jun 6, 2019
feels to me there should be a simple command to get the latest app version on codepush
alexandergoncharov-zz commentedon Jun 6, 2019
Mike James (@export-mike), That's great that you implemented this logic!
Unfortunately no, there's no command to get the latest app version yet. You have to get this info from
appcenter codepush deployment list. Sorry for this. Possible you can use--output jsonfield to get this info in Json as it's easier to parse.alexandergoncharov-zz commentedon Jun 6, 2019
Mike James (@export-mike) please let me know if it was helpful or you have any questions.
export-mike commentedon Jun 7, 2019
--output json:O ok that i can live with.rdewolff commentedon Nov 20, 2019
I have a similar issue and have created another issue : #678