We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f5118 commit 7884334Copy full SHA for 7884334
.github/workflows/helm.yml
@@ -43,6 +43,8 @@ jobs:
43
44
- name: Bump Chart Version
45
id: bump_version
46
+ env:
47
+ VERSION_BUMP: ${{ inputs.version_bump }}
48
run: |
49
# Get current version from Chart.yaml
50
CURRENT_VERSION=$(grep 'version:' helm/temporal-worker-controller/Chart.yaml | awk '{print $2}')
@@ -55,11 +57,11 @@ jobs:
55
57
PATCH=${VERSION_PARTS[2]}
56
58
59
# Increment version based on input
- if [[ "${{ inputs.version_bump }}" == "major" ]]; then
60
+ if [[ "${VERSION_BUMP}" == "major" ]]; then
61
MAJOR=$((MAJOR + 1))
62
MINOR=0
63
PATCH=0
- elif [[ "${{ inputs.version_bump }}" == "minor" ]]; then
64
+ elif [[ "${VERSION_BUMP}" == "minor" ]]; then
65
MINOR=$((MINOR + 1))
66
67
else
0 commit comments