Skip to content

Commit

Permalink
clean for 3.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Sep 20, 2022
1 parent f653722 commit 401ff32
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ gitignorefile.txt
# macOS

.DS_Store

dist/
32 changes: 32 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
32 changes: 16 additions & 16 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<th>442</th>
<th>7264</th>
<th>1500</th>
<th>370935</th>
<th>370929</th>
</tr><tr>
<th>Java</th>
<th>24</th>
Expand Down Expand Up @@ -56,13 +56,13 @@
<th>10706</th>
</tr><tr>
<th>YAML</th>
<th>6</th>
<th>252</th>
<th>7</th>
<th>284</th>
<th>51</th>
<th>21</th>
<th>180</th>
<th>25</th>
<th>208</th>
<th>0</th>
<th>7197</th>
<th>7906</th>
</tr><tr>
<th>CSS</th>
<th>5</th>
Expand All @@ -84,12 +84,12 @@
</tr><tr>
<th>gitignore</th>
<th>4</th>
<th>42</th>
<th>9</th>
<th>44</th>
<th>10</th>
<th>8</th>
<th>25</th>
<th>26</th>
<th>0</th>
<th>705</th>
<th>712</th>
</tr><tr>
<th>Shell</th>
<th>3</th>
Expand Down Expand Up @@ -660,12 +660,12 @@
</tr></tbody>
<tfoot><tr>
<th>Total</th>
<th>184</th>
<th>29767</th>
<th>3319</th>
<th>1925</th>
<th>24523</th>
<th>185</th>
<th>29801</th>
<th>3320</th>
<th>1929</th>
<th>24552</th>
<th>2623</th>
<th>1903208</th>
<th>1903918</th>
</tr></tfoot>
</table></body></html>
4 changes: 2 additions & 2 deletions processor/constants.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

// Version indicates the version of the application
var Version = "3.1.0 (beta)"
var Version = "3.1.0"

// Flags set via the CLI which control how the output is displayed

Expand Down
2 changes: 1 addition & 1 deletion processor/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type CheckDuplicates struct {
mux sync.Mutex
}

//Add is a non thread safe add a key into the duplicates check need to use mutex inside struct before calling this
// Add is a non thread safe add a key into the duplicates check need to use mutex inside struct before calling this
func (c *CheckDuplicates) Add(key int64, hash []byte) {
hashes, ok := c.hashes[key]
if ok {
Expand Down

0 comments on commit 401ff32

Please sign in to comment.