diff --git a/.github/workflows/release-crd.yaml b/.github/workflows/release-crd.yaml new file mode 100644 index 0000000000..df0f28ae80 --- /dev/null +++ b/.github/workflows/release-crd.yaml @@ -0,0 +1,24 @@ +name: Release CRD to GitHub + +on: + push: + tags: + - "v*.*.*" + workflow_dispatch: ~ + +jobs: + release-crd: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: generate crds + run: | + cat helm/core/crds/customresourcedefinitions.gen.yaml helm/core/crds/istio-envoyfilter.yaml > crd.yaml + + - name: Upload hgctl packages to the GitHub release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + crd.yaml diff --git a/VERSION b/VERSION index f3b15f3f8e..f256be6034 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.0.2 +v2.0.3 diff --git a/helm/core/crds/istio-envoyfilter.yaml b/helm/core/crds/istio-envoyfilter.yaml index 9fab238003..e22b2c6940 100644 --- a/helm/core/crds/istio-envoyfilter.yaml +++ b/helm/core/crds/istio-envoyfilter.yaml @@ -1,3 +1,4 @@ +--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/helm/higress/Chart.yaml b/helm/higress/Chart.yaml index 51fe7f7de2..437a0f6a92 100644 --- a/helm/higress/Chart.yaml +++ b/helm/higress/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 2.0.2 +appVersion: 2.0.3 description: Helm chart for deploying Higress gateways icon: https://higress.io/img/higress_logo_small.png home: http://higress.io/ @@ -12,9 +12,9 @@ sources: dependencies: - name: higress-core repository: "file://../core" - version: 2.0.2 + version: 2.0.3 - name: higress-console repository: "https://higress.io/helm-charts/" - version: 1.4.4 + version: 1.4.5 type: application -version: 2.0.2 +version: 2.0.3