From 7a331e3d53ebe8f7eaa15ee119c382abf742759d Mon Sep 17 00:00:00 2001 From: Sergi Castro Date: Fri, 8 Nov 2024 15:57:12 +0100 Subject: [PATCH] more testing Signed-off-by: Sergi Castro --- .github/workflows/make-release.yaml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/make-release.yaml b/.github/workflows/make-release.yaml index b16acad..f4182a8 100644 --- a/.github/workflows/make-release.yaml +++ b/.github/workflows/make-release.yaml @@ -40,10 +40,20 @@ jobs: # git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>' - name: Update kubegres.yaml run: make deploy - - name: Create and push the new tag - run: | - git add kubegres.yaml config/manager/kustomization.yaml - git commit -m "pre-release-tag: Update kubegres.yaml to version ${{ github.event.inputs.version }}" - git push origin ${{ github.event.inputs.branch }} - git tag ${{ github.event.inputs.version }} - git push origin ${{ github.event.inputs.version }} + - name: Commit and push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.GITHUB_TOKEN } + message: "pre-release-tag: Update kubegres.yaml to version ${{ github.event.inputs.version }}" + branch: ${{ github.event.inputs.branch }} + - name: Create the release tag + uses: ncipollo/release-action@v1 + with: + tag: ${{ github.event.inputs.version }} + # - name: Create and push the new tag + # run: | + # git add kubegres.yaml config/manager/kustomization.yaml + # git commit -m "pre-release-tag: Update kubegres.yaml to version ${{ github.event.inputs.version }}" + # git push origin ${{ github.event.inputs.branch }} + # git tag ${{ github.event.inputs.version }} + # git push origin ${{ github.event.inputs.version }}