Skip to content

Commit

Permalink
Test release with tusk test --all
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebz committed Aug 4, 2024
1 parent 2729b40 commit fdc3a4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tusk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ tasks:
options:
fast: ${fast}
- command: go test -race ${fast-flag} ${verbose} ./...
- when: all
task:
name: release
options:
snapshot: true

tidy:
usage: Clean up and format the repo
Expand All @@ -61,7 +66,7 @@ tasks:
usage: Release without publishing or validation
type: bool
rewrite: --snapshot
run: |
run: |-
header='^## [0-9]+\.[0-9]+\.[0-9]+'
awk "/${header}/{if(!found){found=1;f=1}else{f=0}} f" CHANGELOG.md |
go run github.com/goreleaser/goreleaser --clean --release-notes /dev/stdin ${snapshot}

0 comments on commit fdc3a4a

Please sign in to comment.