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 6, 2024
1 parent 7359eec commit 818b19a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 57 deletions.
35 changes: 0 additions & 35 deletions .github/release-drafter.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/drafter.yml

This file was deleted.

21 changes: 11 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Release
on:
workflow_dispatch:
release:
types: [published]
push:
tags:
- v*.*.*
- '!v*.*.*-**'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -44,17 +45,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.9"
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v5
# with:
# args: -p 3 release --clean
# version: latest
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
args: -p 3 release --clean
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: Create new tag
id: create_tag
uses: mathieudutour/[email protected]
Expand All @@ -63,6 +62,8 @@ jobs:
custom_tag: sdk/${{ github.event.release.tag_name }}
tag_prefix: ""
release_branches: main
- name: Generate SDK
run: make build
- name: Compress SDK folder
run: |
for language in nodejs python dotnet go; do
Expand Down

0 comments on commit 818b19a

Please sign in to comment.