Skip to content

Commit 9e2e282

Browse files
committed
Update README (fix example script of Publish command)
1 parent 1466c4a commit 9e2e282

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ conn = ACConnection.connect ()
4343
acc = conn.commands
4444
act = conn.types
4545

46-
parameters = { 'publisherSetName': publisherSetName }
47-
acc.ExecuteAddOnCommand (act.AddOnCommandId ('AdditionalJSONCommands', 'Publish'), parameters)
46+
publisherSetNames = acc.GetPublisherSetNames ()
47+
for publisherSetName in publisherSetNames:
48+
parameters = { 'publisherSetName': publisherSetName }
49+
acc.ExecuteAddOnCommand (act.AddOnCommandId ('AdditionalJSONCommands', 'Publish'), parameters)
4850
```
4951

5052
## GetProjectInfo

0 commit comments

Comments
 (0)