Skip to content

Commit

Permalink
allow version bump a custom ref
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Jul 19, 2023
1 parent 78a7578 commit e7faeaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
version:
description: "Version to bump to, example: v1.5.2"
required: true
ref:
description: "Ref to release from"
required: true
type: string
default: master

jobs:
tag-release:
Expand All @@ -18,7 +23,7 @@ jobs:
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
fetch-depth: 0
ref: master
ref: ${{ inputs.ref }}
- name: Tag release
run: |
git config user.email "${{github.repository_owner}}@users.noreply.github.com"
Expand Down

0 comments on commit e7faeaf

Please sign in to comment.