File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 7777 if : github.ref_type == 'tag'
7878 run : |
7979 git_tag=${{ github.ref_name }}
80+
81+ # If this is a GA release (no hyphen in tag), update necessary files
82+ if ! echo $git_tag | grep -q "-"; then
83+ # Update files for GA release
84+ echo "Updating files for GA release $git_tag"
85+ yq -i '.NetworkOperator.repository = "nvcr.io/nvidia/cloud-native"' hack/release.yaml
86+ yq -i '.SriovNetworkOperator.repository = "nvcr.io/nvidia/mellanox"' hack/release.yaml
87+ yq -i '.SriovNetworkOperatorWebhook.repository = "nvcr.io/nvidia/mellanox"' hack/release.yaml
88+ yq -i '.SriovConfigDaemon.repository = "nvcr.io/nvidia/mellanox"' hack/release.yaml
89+ make release-build
90+ fi
91+
8092 APP_VERSION=$git_tag VERSION=${git_tag:1} make chart-build chart-push # VERSION as 'v' prefix removed
8193
8294 ocp-bundle :
You can’t perform that action at this time.
0 commit comments