Skip to content

Commit

Permalink
Release automation
Browse files Browse the repository at this point in the history
Signed-off-by: meghana_gm <[email protected]>
  • Loading branch information
meggm committed Dec 18, 2024
1 parent bfd3c4a commit 469ba17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
id: set-version
run: |
version=${{ env.latest_version }}
clean_version=${version#v}
clean_version=${version#v}
# Parse version parts
major=$(echo $clean_version | cut -d'.' -f1)
minor=$(echo $clean_version | cut -d'.' -f2)
patch=$(echo $clean_version | cut -d'.' -f3)
new_minor=$((minor + 1))
new_minor=$((minor + 1))
new_version="${major}.${new_minor}.0"
echo "New version: $new_version"
echo "::set-output name=version::$new_version"
Expand All @@ -43,4 +43,4 @@ jobs:
with:
version: ${{ inputs.version || needs.calculate-version.outputs.new-version }}
image: "csi-powermax"
secrets: inherit
secrets: inherit

0 comments on commit 469ba17

Please sign in to comment.