Update version tag after 0.3.0 release (#1129)
* Update version tag after 0.3.0 release * add test to force us updating it
This commit is contained in:
parent
bc0880f91a
commit
7adbbc76c8
|
@ -8,6 +8,8 @@
|
|||
- [`src/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.h`](../src/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.h)
|
||||
- [`src/OpenTelemetry.AutoInstrumentation.Native/version.h`](../src/OpenTelemetry.AutoInstrumentation.Native/version.h)
|
||||
- [`src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj`](../src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj)
|
||||
- ['src/OpenTelemetry.AutoInstrumentation\Constants.cs'](../src/OpenTelemetry.AutoInstrumentation\Constants.cs)
|
||||
(Version tag)
|
||||
|
||||
1. Update the documentation link on the [README.md](./README.md) file.
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ internal static class Constants
|
|||
public static class Tracer
|
||||
{
|
||||
public const string Language = "dotnet";
|
||||
public const string Version = "0.2.0";
|
||||
public const string Version = "0.3.0";
|
||||
}
|
||||
|
||||
public static class ConfigurationValues
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
// <copyright file="ConstantsTests.cs" company="OpenTelemetry Authors">
|
||||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// </copyright>
|
||||
|
||||
using FluentAssertions;
|
||||
using Xunit;
|
||||
|
||||
namespace OpenTelemetry.AutoInstrumentation.Tests;
|
||||
|
||||
public class ConstantsTests
|
||||
{
|
||||
[Fact]
|
||||
public void VersionTag()
|
||||
{
|
||||
Constants.Tracer.Version.Should().Be(typeof(Constants).Assembly.GetName().Version?.ToString(fieldCount: 3));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue