Skip to content

Commit

Permalink
ci: Add option to bump patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Nov 4, 2023
1 parent ee4587b commit 6820739
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/bump-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ name: Bump versions

on:
workflow_dispatch:
inputs:
version-type:
description: Version type
type: choice
options:
- patch
- minor
- major
default: minor

jobs:
bump-version:
Expand All @@ -19,7 +28,7 @@ jobs:
run: cargo update

- name: Update Polars CLI version
run: cargo set-version --bump minor
run: cargo set-version --bump ${{ inputs.version-type }}

- name: Get new version number from Cargo.toml
id: version
Expand Down

0 comments on commit 6820739

Please sign in to comment.