Skip to content

Commit a218bbe

Browse files
committed
Added Version new Version number and fixed Version topic.
1 parent 898f7d9 commit a218bbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

umatiGateway/OPC/MqttProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public bool publishClientOnline()
552552
string MyTopic1 = this.mqttPrefix + "/" + this.clientId + "/" + "gw-version";
553553
MqttApplicationMessage applicationMessage1 = new MqttApplicationMessageBuilder()
554554
.WithTopic(MyTopic1)
555-
.WithPayload("Umatigateway_1.0.0")
555+
.WithPayload($"umatiGateway-{Assembly.GetExecutingAssembly().GetName().Version?.ToString()}")
556556
.Build();
557557
if (this.mqttClient != null)
558558
{

umatiGateway/umatiGateway.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<SelfContained>true</SelfContained>
88
<UserSecretsId>a6a3a4b3-1ead-446e-9c8c-671e54a46342</UserSecretsId>
99
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
10-
<Version>1.0.0-rc1</Version>
10+
<Version>1.0.0-rc2</Version>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

0 commit comments

Comments
 (0)