remove mannual releasing

This commit is contained in:
Muhammad Atif Ali 2023-08-11 12:33:32 +03:00
parent aa157dceec
commit 4e006f8989

View file

@ -4,11 +4,6 @@ on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
version:
description: "Version"
required: true
jobs:
build:
@ -21,7 +16,7 @@ jobs:
- name: Check if tag name has alpha or beta
id: check_tag_name
run: |
if [[ ${{ github.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta)\.[0-9]+$ ]]; then
if [[ ${{ github.ref }} =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta)\.[0-9]+$ ||
echo "PRE_RELEASE=true" >> $GITHUB_ENV
else
echo "PRE_RELEASE=false" >> $GITHUB_ENV