From 58a6373ffbe54da36254cf94dd115c6d11d4570f Mon Sep 17 00:00:00 2001 From: Steve Karg Date: Mon, 21 Aug 2023 08:56:24 -0500 Subject: [PATCH] Update release.yml (#472) fix tag name from releases --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7295a72..bc8f376a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: push: # Pattern matched against refs/tags tags: - - 'bacnet-stack-[0-9]+-[0-9]+-[0-9]+' + - 'bacnet-stack-[0-9]+.[0-9]+.[0-9]+' jobs: release: @@ -29,9 +29,9 @@ jobs: - name: Extract Version id: vars run: | - echo ::set-output name=version::$(echo ${{github.ref_name}} | sed -e 's/^vbacnet-stack-// -e 's/-/./') - echo ::set-output name=tool::$(echo ${{github.ref_name}} | sed -e 's/stack/tool/ -e 's/-/./') - echo ::set-output name=archive::$(echo ${{github.ref_name}} | sed 's/-/./') + echo ::set-output name=version::$(echo ${{github.ref_name}} | sed -e 's/^vbacnet-stack-//') + echo ::set-output name=tool::$(echo ${{github.ref_name}} | sed -e 's/stack/tool/') + echo ::set-output name=archive::$(echo ${{github.ref_name}}) - name: ZIP Win32 Apps run: | zip -r ${{steps.vars.outputs.tool}} ./bin/*.exe ./bin/readme.txt ./apps/mstpcap/mstpcap.txt