Update create_tag.yml

This commit is contained in:
Sacha Weatherstone 2023-02-18 12:43:42 +11:00 committed by GitHub
parent 05f49816cd
commit e0abfe4890
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,12 +19,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout master
run: git switch master
- id: version
name: Get current version
run: |
@ -69,4 +63,4 @@ jobs:
# buf_token: ${{ secrets.BUF_TOKEN }}
run: |
export BUF_TOKEN=${{ secrets.BUF_TOKEN }}
buf push --tag ${{ github.ref_name }}
buf push --tag ${{ steps.version.outputs.NEW_VERSION }}