Correcting action workflow #12

Merged
phoenix merged 1 commits from workflow_tag_fix into devel 2025-04-05 22:00:42 +00:00
Showing only changes of commit e53dee3d0a - Show all commits

View File

@@ -3,9 +3,8 @@ name: Release Tagging
on:
push:
branches:
- main
- devel
tags:
- 'v*' # Trigger on tags matching v*
jobs:
release:
@@ -42,12 +41,6 @@ jobs:
echo "Printing version"
echo "Version: ${{ steps.version.outputs.project_tag_release }}"
- name: Check Branch
if: github.ref != 'refs/heads/devel' || github.ref != 'refs/heads/devel' # Replace 'main' with your required branch
run: |
echo "::error::Release can only be created from the 'main' branch."
exit 1
- name: Create GitHub Release
uses: actions/create-release@v1
env: