Skip to content

Commit

Permalink
ci: addlicense force year
Browse files Browse the repository at this point in the history
  • Loading branch information
cheina97 committed Jan 10, 2025
1 parent baee683 commit 9b944ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ fmt: gci addlicense docs
go fmt ./...
find . -type f -name '*.go' -a ! -name '*zz_generated*' -exec $(GCI) write -s standard -s default -s "prefix(github.com/liqotech/liqo)" {} \;
find . -type f -name '*.go' -exec $(ADDLICENSE) -l apache -c "The Liqo Authors" -y "2019-$(shell date +%Y)" {} \;
find . -type f -name "*.go" -exec sed -i "s/Copyright 2019-[0-9]\{4\} The Liqo Authors/Copyright 2019-$(shell date +%Y) The Liqo Authors/" {} +

# Install golangci-lint if not available
golangci-lint:
Expand Down

0 comments on commit 9b944ae

Please sign in to comment.