mirror of
https://github.com/matifali/update-coder-template.git
synced 2025-11-13 02:41:31 +08:00
remove mannual releasing
This commit is contained in:
parent
aa157dceec
commit
4e006f8989
1 changed files with 1 additions and 6 deletions
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue