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 5842ec1 commit 37b38fcCopy full SHA for 37b38fc
1 file changed
.github/workflows/release.yaml
@@ -166,10 +166,14 @@ jobs:
166
env:
167
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
168
run: |
169
+ CURRENT_BRANCH="${{ github.ref_name }}"
170
+ BASE_VERSION=$(echo "$CURRENT_BRANCH" | sed -E 's/^[^v]*(v[0-9]+\.[0-9]+).*/\1/')
171
+ TRANSFORMED_VERSION="${BASE_VERSION/v1./v2.}"
172
+ TARGET_BRANCH="dev-${TRANSFORMED_VERSION}"
173
VERSION_OVERRIDE="minor"
174
gh workflow run "Manual Trigger for Auto Bump" \
175
--repo rancher/charts \
- --ref dev-v2.12 \
176
+ --ref "$TARGET_BRANCH" \
177
-F chart=rancher-gke-operator \
- -F branch=dev-v2.12 \
178
+ -F branch="$TARGET_BRANCH" \
179
-F version-override=$VERSION_OVERRIDE
0 commit comments