diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c441b10..8343636 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -26,6 +26,15 @@ jobs: rm -rf .bin/ rm -rf dist/ + - name: Collect and save licenses + run: | + go install github.com/google/go-licenses@latest + go-licenses save . --save_path="licenses" + git add licenses + git commit -m "Updated licenses" + git push + git clean && git reset --hard + - name: Create release tag run: | git tag "v$(git show -s --format=%cd --date=format:%Y%m%d.%H%M%S)"