Add tag_sdk step to release GHA action
@@ -526,6 +526,20 @@ jobs:
author_name: Failure in publishing SDK
fields: repo,commit,author,action
status: ${{ job.status }}
+ tag_sdk:
+ name: tag_sdk
+ needs: publish_sdk
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Repo
+ uses: actions/checkout@v2
+ - name: Install pulumictl
+ uses: jaxxstorm/action-install-gh-release@v1.2.0
+ with:
+ repo: pulumi/pulumictl
+ - name: Add SDK version tag
+ run: git tag sdk/v$(pulumictl get version --language generic) && git push origin
+ sdk/v$(pulumictl get version --language generic)
create_docs_build:
name: Create docs build
needs: publish_sdk
