-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy path.runny.yaml
More file actions
30 lines (27 loc) · 891 Bytes
/
.runny.yaml
File metadata and controls
30 lines (27 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
commands:
delete-windows-release:
run: ./tools/delete-windows-release.sh
release:
argnames:
- tag
run: git tag -am $tag $tag && git push origin refs/tags/$tag
release-next:
run: |
latest_version=$(git tag --list "v*" --sort "-v:refname" | head -1)
next_version=$(echo ${latest_version} | awk -F. -v OFS=. '{$NF += 1 ; print}')
printf "Release $next_version? (Current release is $latest_version) [yN] "
read answer
if [[ $answer =~ ^[Yy]$ ]]; then
git tag -am $next_version $next_version && git push origin refs/tags/$next_version
fi
test:
run: go test ./...
update-deps:
run: |
go get -u .
go mod tidy
./tools/sync-go-version.sh
check-go-version-sync:
run: ./tools/sync-go-version.sh --check
check-goreleaser:
run: goreleaser check .goreleaser.yaml .goreleaser.windows.yaml