Skip to content

Commit

Permalink
check for uncommited git changes before release
Browse files Browse the repository at this point in the history
  • Loading branch information
RangelReale committed Oct 8, 2023
1 parent 705489a commit 23e9df6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ tasks:
sh: 'git describe --tags --abbrev=0'
requires:
vars: [VERSION]
preconditions:
- sh: 'test -z "git status --porcelain"'
msg: 'there are uncommited git changes'
silent: true
release-version-internal:
internal: true
Expand Down

0 comments on commit 23e9df6

Please sign in to comment.