From eaa700eeab261432f2458c93f8f4a30ecc9fda8f Mon Sep 17 00:00:00 2001 From: Matheus Santana Date: Tue, 26 Nov 2024 04:35:47 -0300 Subject: [PATCH] :green_heart: fix: ci git tag generation --- .github/workflows/deploy_gcp_as.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/deploy_gcp_as.yaml b/.github/workflows/deploy_gcp_as.yaml index dbcaf48..b7a3b5c 100644 --- a/.github/workflows/deploy_gcp_as.yaml +++ b/.github/workflows/deploy_gcp_as.yaml @@ -70,31 +70,3 @@ jobs: run: clasp deploy -i "$DEPLOYMENT_ID" -d "$GITHUB_REF" env: DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }} - - # Release / Version / Tag - - name: Use GitVersion - id: git-version - uses: gittools/actions/gitversion/setup@v0.9 - with: - versionSpec: '5.x' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Create Git Tag - if: github.ref == 'refs/heads/main' - run: | - git config --local user.name "github-actions" - git config --local user.email "github-actions@github.com" - git tag -a "${{ steps.gitversion.outputs.fullSemVer }}" -m "Version ${{ steps.gitversion.outputs.fullSemVer }}" - git push origin "${{ steps.gitversion.outputs.fullSemVer }}" - - - name: Create GitHub Release - if: github.ref == 'refs/heads/main' - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: "${{ steps.gitversion.outputs.fullSemVer }}" - release_name: "Release ${{ steps.gitversion.outputs.fullSemVer }}" - draft: false - prerelease: false