Skip to content

Commit

Permalink
chore: Add release bump
Browse files Browse the repository at this point in the history
  • Loading branch information
haejunejung committed Aug 19, 2024
1 parent 528d5ba commit 0e8fd37
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: Release & Publish to NPM

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
version:
description: 'Version bump type'
required: true
default: 'minor'
type: choice
options:
- major
- minor
- patch

jobs:
release:
Expand All @@ -19,7 +30,7 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run Release
run: npm run release --ci
run: npm run release --ci ${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-typekit",
"version": "0.0.4",
"version": "0.0.5",
"description": "A Collection of TypeScript Utility Types",
"license": "MIT",
"packageManager": "[email protected]",
Expand Down

0 comments on commit 0e8fd37

Please sign in to comment.