ignore local project for licenses folder and don't fail on empty commit

This commit is contained in:
Bastian Doetsch 2022-08-26 16:20:11 +02:00
parent 8981b4c913
commit 7aaad270c2
No known key found for this signature in database
GPG Key ID: 1BE16C0988EB5F97

View File

@ -33,10 +33,9 @@ jobs:
run: |
go install github.com/google/go-licenses@latest
rm -rf licenses
go-licenses save . --save_path="licenses"
go-licenses save . --save_path="licenses" --ignore "github.com/bastiandoetsch/mullvad-best-server"
git add licenses
git commit -m "Updated licenses"
git push
git commit -m "Updated licenses" && git push || echo "No changes to commit"
git clean -f && git reset --hard
- name: Create release tag