Skip to content

Commit 188c0ec

Browse files
committed
added github release action
1 parent 880ea60 commit 188c0ec

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Create GitHub release'
2+
author: 'Pete Sramek'
3+
description: 'Create GitHub release.'
4+
inputs:
5+
branch-name:
6+
description: 'The name of the branch to extract version from.'
7+
required: true
8+
9+
runs:
10+
using: composite
11+
steps:
12+
- name: 'Checkout ${{ github.head_ref || github.ref }}'
13+
uses: actions/checkout@v5
14+
- name: 'Extract version from branch name'
15+
id: extract-version
16+
uses: './.github/actions/versioning/extract-version'
17+
with:
18+
branch-name: ${{ inputs.branch-name }}
19+
- name: 'Create GitHub release PolylineAlgorithm ${{ steps.extract-version.outputs.package-version }}"'
20+
shell: bash
21+
env:
22+
GH_TOKEN: ${{ github.token }}
23+
run: |
24+
gh release create ${{ steps.extract-version.outputs.package-version }} --generate-notes --discussion-category "GeneralDiscussions"

0 commit comments

Comments
 (0)