Skip to content

Commit

Permalink
Update release_tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HI-JIN2 authored Oct 10, 2024
1 parent ebd47bf commit d942866
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
name: Release Tag

#트리거 요소
on:
on:
pull_request:
branches:
- production
types:
- closed
- merged
paths:
- 'release/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 버전 정보 추출
run: echo "##[set-output name=version;]$(echo '${{ github.event.head_commit.message }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')"
id: extract_version_name
run: echo "##[set-output name=version;]$(echo '${{ github.ref }}' | egrep -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')"
id: extract_version_name
- name: Release 생성
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit d942866

Please sign in to comment.