Skip to content

Commit

Permalink
Add a .runny.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwhitaker committed Aug 3, 2024
1 parent 2c1b310 commit 3744aae
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .runny.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 "-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 ./...

0 comments on commit 3744aae

Please sign in to comment.