ignore local project for licenses folder and don't fail on empty commit
This commit is contained in:
parent
8981b4c913
commit
7aaad270c2
5
.github/workflows/go.yml
vendored
5
.github/workflows/go.yml
vendored
@ -33,10 +33,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
go install github.com/google/go-licenses@latest
|
go install github.com/google/go-licenses@latest
|
||||||
rm -rf licenses
|
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 add licenses
|
||||||
git commit -m "Updated licenses"
|
git commit -m "Updated licenses" && git push || echo "No changes to commit"
|
||||||
git push
|
|
||||||
git clean -f && git reset --hard
|
git clean -f && git reset --hard
|
||||||
|
|
||||||
- name: Create release tag
|
- name: Create release tag
|
||||||
|
Reference in New Issue
Block a user