Skip to content

add reaction bar on comments #11

add reaction bar on comments

add reaction bar on comments #11

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
if: github.ref_type == 'tag' && github.event.base_ref == 'refs/heads/main'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Build package
run: make package VERSION=${{ steps.version.outputs.VERSION }}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: kgithub-plasmoid-v${{ steps.version.outputs.VERSION }}.plasmoid
generate_release_notes: true
draft: true
prerelease: ${{ contains(steps.version.outputs.VERSION, 'alpha') || contains(steps.version.outputs.VERSION, 'beta') || contains(steps.version.outputs.VERSION, 'rc') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}