From 2d8f7d34b34a151781b0a95ee227735ef9469ee6 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Wed, 6 Oct 2021 14:02:03 +0900 Subject: [PATCH] Fix create release step --- .github/workflows/release-build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 85e4af2..a985424 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -40,7 +40,10 @@ jobs: SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} - - run: | - gh release create ${{ github.events.inputs.version }} \ - --title ${{ github.events.inputs.version }}-alpha \ + - name: Create Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: > + gh release create ${{ github.events.inputs.version }} + --title ${{ github.events.inputs.version }}-alpha --notes "Java Bindings for [OTLP ${{ github.events.inputs.version }}](https://github.com/open-telemetry/opentelemetry-proto/releases/tag/${{ github.events.inputs.version }})"