Skip to content

Commit

Permalink
chore: add specific version for release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazami139 authored and GitHub Enterprise committed Mar 5, 2023
1 parent 6af6703 commit b07be60
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release-and-update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
release_version:
required: false
type: string

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -56,4 +60,10 @@ jobs:
run: pnpm install

- name: update the changelog and add a new tag
if: (${{ inputs.deploy_version }} == "")
run: pnpm release:changelog

- name: update the changelog and add a specific tag
if: (${{ inputs.deploy_version }} != "")
run: pnpm release:changelog --release-as ${{ inputs.deploy_version }}

0 comments on commit b07be60

Please sign in to comment.