-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Support deployPercentage
in publish
API
#91
Conversation
let me know if there is anything else to improve (squashing commits for example). |
deployPercentage
in publish
API
@@ -49,7 +49,8 @@ store.uploadExisting(myZipFile, token).then(res => { | |||
```javascript | |||
const target = 'default'; // optional. Can also be 'trustedTesters' | |||
const token = 'xxxx'; // optional. One will be fetched if not provided | |||
store.publish(target, token).then(res => { | |||
const deployPercentage = 25; // optional. Will default to 100%. | |||
store.publish({ target, deployPercentage, token }).then((res) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought, I'm not ready to release a breaking version. I already have a partial rewrite in progress and I'd want to release that instead. See #84
Can you revert this API to accept a third parameter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it should be changed this way if I understand correctly:
store.publish(target, token, deployPercentage)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here it is: #93
v3.1.0 is out, let me know how it goes. Could you also add a flag to https://github.com/fregante/chrome-webstore-upload-cli? |
Here is the CLI update MR: fregante/chrome-webstore-upload-cli#83 |
Just a quick comment to tell you that I have had the opportunity to test it and it worked ! |
This PR aims at adding support for the deployPercentage parameter when calling the publish API.