Skip to content

Commit

Permalink
fixed a couple of bugs in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MinuraPunchihewa committed May 31, 2024
1 parent 0fce8a0 commit fa57ecd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/bump-mindsdb-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
repository_dispatch:
types: [completed]

workflow_dispatch:
inputs:
version:
description: "Version to bump to"
required: true
workflow_dispatch:
inputs:
version:
description: "Version to bump to"
required: true

jobs:
bump-version:
Expand All @@ -35,7 +35,7 @@ jobs:
current_extension_version=$(cat VERSION)
# Increment extension version (increment the last number by 1)
new_extension_version=$(echo $current_version | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')
new_extension_version=$(echo $current_extension_version | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')
# Update VERSION file with new version
echo $new_extension_version > VERSION
Expand Down

0 comments on commit fa57ecd

Please sign in to comment.