From 8260e24325d3f6e0a30898a3244fdcf9104adae8 Mon Sep 17 00:00:00 2001 From: SevenEarth <45937856+SevenEarth@users.noreply.github.com> Date: Fri, 5 Jul 2024 14:35:35 +0800 Subject: [PATCH] Update auto-pull-request-by-release.yml --- .github/workflows/auto-pull-request-by-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-pull-request-by-release.yml b/.github/workflows/auto-pull-request-by-release.yml index 3d3ea83b..f79933d2 100644 --- a/.github/workflows/auto-pull-request-by-release.yml +++ b/.github/workflows/auto-pull-request-by-release.yml @@ -52,9 +52,9 @@ jobs: cd pulumi-tencentcloud git config --global user.email "391613297@qq.com" git config --global user.name "SevenEarth" - git checkout -b "feat/sync_provider_${version}" + git checkout -b "feat/sync_provider_v${version}" - cd provider && go get -v github.com/tencentcloudstack/terraform-provider-tencentcloud@$${{ steps.generate-code.outputs.version }} && go mod tidy && cd - + cd provider && go get -v github.com/tencentcloudstack/terraform-provider-tencentcloud@v${{ steps.generate-code.outputs.version }} && go mod tidy && cd - make tfgen make provider make build_sdks @@ -62,11 +62,11 @@ jobs: git add . git commit -sm "sync provider" - git push origin feat/sync_provider_${version} + git push origin feat/sync_provider_v${version} - name: create pull request run: | cd pulumi-tencentcloud - gh pr create -B main -H feat/sync_provider_${{ steps.generate-code.outputs.version }} --title "sync terraform provider" --body "sync terraform provider version to ${{ steps.update-code.outputs.version }}" + gh pr create -B main -H feat/sync_provider_v${{ steps.generate-code.outputs.version }} --title "sync terraform provider" --body "sync terraform provider version to v${{ steps.update-code.outputs.version }}" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}