Files
umbrix/.github/workflows/release.yml
problematicconsumer ccba73157f Fix ci tag matching
2024-01-14 14:17:10 +03:30

17 lines
428 B
YAML

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+.dev'
jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
permissions: write-all
with:
upload-artifact: true
tag-name: "${{ github.ref_name }}"
channel: "${{ github.ref_type == 'tag' && endsWith(github.ref_name, 'dev') && 'dev' || github.ref_type != 'tag' && 'dev' || 'prod' }}"