From a9b726e9f5fd2a0af6ddc5740bd7041e9f043719 Mon Sep 17 00:00:00 2001 From: Paul McDonald Date: Wed, 13 Nov 2024 00:14:07 +0000 Subject: [PATCH] Update workflow --- .github/workflows/release.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c54e7c7..ad5e8a6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,9 +19,10 @@ jobs: version=$(grep '^version:' plugin.yaml | awk '{print $2}') echo "::set-output name=version::$version" - - name: Create git tag - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git tag -a "v${{ steps.read_version.outputs.version }}" -m "Release version ${{ steps.read_version.outputs.version }}" - git push origin "v${{ steps.read_version.outputs.version }}" + - name: Create release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.read_version.outputs.version }} + release_name: ${{ steps.read_version.outputs.version }}