Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-przybyl-wttech committed May 5, 2024
1 parent 4cc31b2 commit 6b4590c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
with:
args: -p 3 release --rm-dist
version: latest
- name: Checkout Repo
uses: actions/checkout@v4
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Generate SDK
run: make build
- name: Check worktree clean
Expand All @@ -73,6 +77,21 @@ jobs:
runs-on: ubuntu-latest
needs: publish_binary
steps:
- if: ${{ matrix.language == 'go' }}
name: Get current tag
id: get_tag
run: echo "::set-output name=tag::${GITHUB_REF##*/}"
- if: ${{ matrix.language == 'go' }}
name: Create new tag
id: create_tag
uses: mathieudutour/github-tag-action@v5
with:
tag: sdk/${{ steps.get_tag.outputs.tag }}
- if: ${{ matrix.language == 'go' }}
name: Push new tag
run: git push origin ${{ steps.create_tag.outputs.new_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Compress SDK folder
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
- name: Upload artifacts
Expand Down

0 comments on commit 6b4590c

Please sign in to comment.