jvdrhoof / WebRTCSFU

0 stars 0 forks source link

Automatic versioning #6

Open jvdrhoof opened 2 months ago

jvdrhoof commented 2 months ago

An automatically generated version number should be provided when building components. Versioning in Golang is possible, as illustrated here. For example, one could use the following to build the code with version number:

go build -ldflags="-X 'main.Version=v1.0.0'"