warriordog / ActivityPubSharp

Modular implementation of ActivityPub in C#
https://warriordog.github.io/ActivityPubSharp/
Mozilla Public License 2.0
45 stars 9 forks source link

NuGet snapshot workflow fails exactly 10% of the time #168

Closed warriordog closed 7 months ago

warriordog commented 7 months ago

For some reason, MSBuild blows up if the millisecond component of the snapshot version starts with a zero. This happens exactly 10% of the time, so we can probably just remove that component entirely.

C:\Program Files\dotnet\sdk\7.0.404\NuGet.targets(158,5): error : '0.1.0-snapshot.2023-12-27.05-23-38.039' is not a valid version string. (Parameter 'value') [D:\a\ActivityPubSharp\ActivityPubSharp\ActivityPubSharp.sln]

Look at any of the recently failed pipeline runs for more details.

flensrocker commented 7 months ago

Educated guess: octal numbers start with a zero and the 9 is not a valid digit...

Edit: I'm wrong. That part of the version string cannot start with a leading zero...