Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thepaulmacca committed Nov 13, 2024
1 parent dbc44b4 commit a9b726e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a9b726e

Please sign in to comment.