Skip to content

Commit 4b58cb9

Browse files
authored
wokflow to cut new release (#2)
1 parent 9b81af7 commit 4b58cb9

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/cut-release.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# GitHub Action Workflow to update tags with new version number, update release notes, and create a new release
2+
name: Create New Version and Release
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
version_type:
8+
description: 'Version increment type (major, minor, patch)'
9+
required: true
10+
default: 'patch'
11+
12+
jobs:
13+
create_version_and_release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Bump version and push tag
22+
id: bump_version
23+
uses: anothrNick/github-tag-action@1.71.0
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
DEFAULT_BUMP: ${{ github.event.inputs.version_type }}
27+
WITH_V: true
28+
29+
- name: Cut Release
30+
uses: softprops/action-gh-release@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scratchpad

0 commit comments

Comments
 (0)