Asset Server: Getting the current revision

Hello Everybody!

I want to introduce a pre build step where I ask the Asset Server for its current change set, write that number into an Ascii file and include it into my built.
Turns out I encounter several problems:

  1. There is no such thing as a pre build step → I solved that by introducing my own build command.
    2. I can’t seem to get any information from the AssetServer. Do I really need to open my own PostgreSQL connection?
    2a. And if so, which would be the best way to do this?

Thanks a lot!

As far i can tell the interface for the unity AssetServer is not public.
If it would be its would be UnityEditor.AssetServer.

For the (Pre-build) mybe this can help you

Thanks, that’s along the lines of what I already found.