Skip to content

[.Net Version Bump] Bump to v3.6.000 (#293) #144

[.Net Version Bump] Bump to v3.6.000 (#293)

[.Net Version Bump] Bump to v3.6.000 (#293) #144

name: Auto tag version bump commit and create release
on:
push:
branches: [ master, main, release/*, hotfix/* ]
tags-ignore:
- '**'
jobs:
tag_version_bump_commit:
if: startsWith(github.event.head_commit.message, '[.Net Version Bump]')
runs-on: ubuntu-latest
permissions:
contents: write # create release
actions: read # read secrets
steps:
- name: Checkout
uses: actions/checkout@v2
- name: "Configure Git Credentials"
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: "Create and push git tag"
id: version
run: |
VERSION="$(grep -o -e RELEASE_VERSION\=\"[0-9]*\.[0-9]*\.[0-9]* dotnet/build-packages.sh | sed 's/RELEASE_VERSION="//')"
TRACER_VERSION="$(grep -o -e dd-trace-dotnet/releases/download/v[0-9]*\.[0-9]*\.[0-9]* dotnet/build-packages.sh | sed 's#dd-trace-dotnet/releases/download/v##')"
TAGNAME=dotnet-v$VERSION
AGENT_VERSION="$(grep -o -e agent-binaries-[0-9]*\.[0-9]*\.[0-9]* dotnet/build-packages.sh | sed 's/agent-binaries-//')"
echo "::set-output name=tagname::$TAGNAME"
echo "::set-output name=version::$VERSION"
echo "::set-output name=tracer_version::$TRACER_VERSION"
echo "::set-output name=agent_version::$AGENT_VERSION"
git tag "$TAGNAME"
git push origin "$TAGNAME"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
draft: true
name: "${{steps.version.outputs.tagname}}"
tag_name: "${{steps.version.outputs.tagname}}"
prerelease: false
body: |
## Versions included
[.NET Tracer v${{steps.version.outputs.tracer_version}}](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v${{steps.version.outputs.tracer_version}})
[Datadog Agent v${{steps.version.outputs.agent_version}}](https://github.com/DataDog/datadog-agent/releases/tag/{{steps.version.outputs.agent_version}})
Hosted on [Nuget](https://www.nuget.org/packages/Datadog.AzureAppServices.DotNet/${{steps.version.outputs.version}})
[Site Extension Documentation](https://docs.datadoghq.com/serverless/azure_app_services/)
## Requirements
The .NET Datadog APM Site Extension requires that you setup the [Microsoft Azure Integration](https://docs.datadoghq.com/integrations/azure_app_services/) first.
Please follow the directions in the referenced document.
## .NET Core Installation and Upgrade
Install or upgrade the site extension, and verify traces and metrics.
## .NET Framework Installation and Upgrade
Fully stop your web app before installing, modifying, or removing the .NET Datadog APM Site Extension.
This site extension uses the [.NET Profiling API](https://docs.microsoft.com/en-us/dotnet/framework/unmanaged-api/profiling/profiling-interfaces) which hooks in at process start.
*Restart* recycles an application pool, the app must be *STOPPED* before any changes to this extension.