Here is the build manifest object we’re getting in our pre-export method:
This is the target name as defined in UCB:

It is quite annoying as we have code that actually relies on the target name. Is this a bug?
Here is the build manifest object we’re getting in our pre-export method:
This is the target name as defined in UCB:

It is quite annoying as we have code that actually relies on the target name. Is this a bug?
That parameter is poorly named - it’s actually the build target ID, not NAME (i.e. the value that shows up in the url if you were to view the settings for that build target). I’m assuming you already had a build target with an id of “webgl_test” so when you created this one the id became “webgl_test-1”. Hope that clears it up a bit. Sorry for the confusion.
Yes, i already figured that out. is there any chance we can be given the option to modify that id ?
Not something we intend to support. The main problem there is that those ids are used in urls (that we send out in emails, return from the API, etc.), so any time you changed it we would need to maintain a history of previously used ids and redirect to the current one. Not impossible, but the use cases for changing the id are honestly very limited and not worth the trouble.