From cbf206bbfb28d5da1512c9d99538ab978c87c003 Mon Sep 17 00:00:00 2001 From: Alejandro Arroyo <41422777+arroyoAle@users.noreply.github.com> Date: Fri, 12 Apr 2024 10:48:48 +0100 Subject: [PATCH] RAS-1011 Replace unmaintained actions/create-release and update google-github-actions/setup-gcloud (#334) * Replacing create release * auto patch increment * updating setup-gcloud --------- Co-authored-by: ras-rm-pr-bot --- .github/workflows/main.yml | 13 +++---------- _infra/helm/collection-exercise/Chart.yaml | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 44cb52e3..a569d463 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,7 +50,7 @@ jobs: with: credentials_json: ${{ secrets.GCR_KEY }} - name: Setup Google Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v2 - name: Configure GCR run: | gcloud auth configure-docker @@ -174,18 +174,11 @@ jobs: cp $IMAGE-${{ env.HELM_VERSION }}.tgz $IMAGE-latest.tgz gsutil cp $IMAGE-*.tgz gs://$ARTIFACT_BUCKET/$IMAGE/ - - uses: actions/create-release@v1 + - name: Create Release if: github.ref == 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ env.version }} - release_name: ${{ env.version }} - body: | - Automated release - ${{ env.version }} - draft: false - prerelease: false + run: gh release create ${{ env.version }} --title ${{ env.version }} --notes ${{ env.version }} - name: CD hook if: github.ref == 'refs/heads/main' diff --git a/_infra/helm/collection-exercise/Chart.yaml b/_infra/helm/collection-exercise/Chart.yaml index e455e9b2..563a44ba 100644 --- a/_infra/helm/collection-exercise/Chart.yaml +++ b/_infra/helm/collection-exercise/Chart.yaml @@ -14,9 +14,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 13.0.31 +version: 13.0.32 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 13.0.31 +appVersion: 13.0.32