ironcore-dev / dpservice

DPDK based fast Dataplane / L3 router / SDN enabler, installable on compute nodes / SmartNICs
Apache License 2.0
7 stars 1 forks source link

Fix version template to re-generate during build instead of configure phase #555

Closed PlagueCZ closed 3 months ago

PlagueCZ commented 3 months ago

Only after merging dpservice-cli and creating a test for proper version matching with dpservice-bin, a flaw got noticed.

Currently dpservice uses Git commit ID as version, but does so only during configure phase. Which is fine for CICD, but when developing, this version almost never gets updated when switching branches.

The client correctly applies the version every build, so now the test sometimes fails.

I changed meson to update VCS tags during build instead.