Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Burnham <[email protected]>
  • Loading branch information
tchataigner and samuelburnham authored Jun 15, 2024
1 parent 3e5595b commit fc401c7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/bump-version-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
inputs:
type:
description: 'release or hotfix'
type: choice
options:
- release
- hotfix
required: true
default: 'release'
version:
Expand All @@ -14,7 +18,7 @@ jobs:
release:
runs-on: ubuntu-latest
env:
# Crates fro which the version will be bumped
# Crates from which the version will be bumped
CRATES: './aptos/aptos-programs,./aptos/core,./aptos/light-client,./aptos/programs/inclusion,./aptos/programs/epoch-change,./aptos/proof-server'

steps:
Expand Down Expand Up @@ -56,4 +60,5 @@ jobs:
with:
title: "${{ inputs.type == 'release' && 'Release' || 'Hotfix' }} ${{ inputs.version }}"
branch: "${{ inputs.type }}/${{ inputs.version }}"
commit-message: "${{ inputs.type == 'release' && 'feat' || 'fix' }}: bump version to ${{ inputs.version }}"
commit-message: "${{ inputs.type == 'release' && 'feat' || 'fix' }}: bump version to ${{ inputs.version }}"
base: "${{ inputs.type == 'hotfix' && 'release/${{ inputs.version }}' || 'dev' }}:

0 comments on commit fc401c7

Please sign in to comment.