@@ -8,7 +8,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
# Pattern matched against refs/tags
|
# Pattern matched against refs/tags
|
||||||
tags:
|
tags:
|
||||||
- 'bacnet-stack-[0-9]+-[0-9]+-[0-9]+'
|
- 'bacnet-stack-[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -29,9 +29,9 @@ jobs:
|
|||||||
- name: Extract Version
|
- name: Extract Version
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
echo ::set-output name=version::$(echo ${{github.ref_name}} | sed -e 's/^vbacnet-stack-// -e '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/ -e 's/-/./')
|
echo ::set-output name=tool::$(echo ${{github.ref_name}} | sed -e 's/stack/tool/')
|
||||||
echo ::set-output name=archive::$(echo ${{github.ref_name}} | sed 's/-/./')
|
echo ::set-output name=archive::$(echo ${{github.ref_name}})
|
||||||
- name: ZIP Win32 Apps
|
- name: ZIP Win32 Apps
|
||||||
run: |
|
run: |
|
||||||
zip -r ${{steps.vars.outputs.tool}} ./bin/*.exe ./bin/readme.txt ./apps/mstpcap/mstpcap.txt
|
zip -r ${{steps.vars.outputs.tool}} ./bin/*.exe ./bin/readme.txt ./apps/mstpcap/mstpcap.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user