Skip to content

Commit

Permalink
Fix repo references in version-bump (#5640)
Browse files Browse the repository at this point in the history
fix repo references in version-bump
  • Loading branch information
oseoin authored May 29, 2024
1 parent e913840 commit d71bacc
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit d71bacc

Please sign in to comment.