diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index d0f7fb0..7cd04d6 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -39,6 +39,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: actions/setup-go@v3 with: go-version: "1.19" diff --git a/main.go b/main.go index 63c32bd..4717e9f 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,7 @@ const ( flagOutputName = "output" flagOutputUsage = "output directory" - currentDir = "." - licenseFilename = "LICENSE" + currentDir = "." ) var commandGenerateAliases = []string{"gen", "g"}