From d942866f80e10f1f53fb286189bef6051e85df3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EC=A7=84?= Date: Thu, 10 Oct 2024 12:16:23 +0900 Subject: [PATCH] Update release_tag.yml --- .github/workflows/release_tag.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_tag.yml b/.github/workflows/release_tag.yml index bc7f0c4e..7c1d1d55 100644 --- a/.github/workflows/release_tag.yml +++ b/.github/workflows/release_tag.yml @@ -1,12 +1,14 @@ name: Release Tag #트리거 요소 -on: +on: pull_request: branches: - production types: - - closed + - merged + paths: + - 'release/**' jobs: build: @@ -14,8 +16,8 @@ jobs: 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: