Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repo references in version-bump #5640

Merged
merged 2 commits into from
May 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
source_branch:
required: true
type: string
default: 'main'
default: "main"
ic_version:
required: true
type: string
default: '0.0.0'
default: "0.0.0"
helm_chart_version:
required: true
type: string
default: '0.0.0'
default: "0.0.0"

defaults:
run:
Expand All @@ -36,13 +36,13 @@ jobs:

- name: Replace Versions
run: |
yq -i e '.version = env(CHART_VERSION) | .appVersion = env(IC_VERSION)' kubernetes-ingress/charts/nginx-ingress/Chart.yaml
cat kubernetes-ingress/charts/nginx-ingress/Chart.yaml
cat > kubernetes-ingress/.github/data/version.txt << EOF
yq -i e '.version = env(CHART_VERSION) | .appVersion = env(IC_VERSION)' charts/nginx-ingress/Chart.yaml
cat charts/nginx-ingress/Chart.yaml
cat > .github/data/version.txt << EOF
IC_VERSION=${IC_VERSION}
HELM_CHART_VERSION=${CHART_VERSION}
EOF
cat kubernetes-ingress/.github/data/version.txt
cat .github/data/version.txt
env:
IC_VERSION: ${{ inputs.ic_version }}
CHART_VERSION: ${{ inputs.helm_chart_version }}
Expand Down
Loading