Skip to content

Commit

Permalink
Re-add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thepaulmacca committed Nov 13, 2024
1 parent 6dfa223 commit 855b898
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Read version from plugin.yaml
id: read_version
run: |
version=$(grep '^version:' plugin.yaml | awk '{print $2}') >> $GITHUB_OUTPUT
- 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 855b898

Please sign in to comment.