Skip to content

Commit

Permalink
Push changes before creating gh release and name the release after th…
Browse files Browse the repository at this point in the history
…e version
  • Loading branch information
w2sv committed Feb 28, 2024
1 parent ac15257 commit 861a82e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ pre-publish:
@dart pub publish --dry-run

patch-version:
dart pub global activate pubversion
pubversion patch
dart pub get
@dart pub global activate pubversion
@pubversion patch
@dart pub get

VERSION := $(shell grep 'version:' pubspec.yaml | awk '{print $$2}')

publish:
dart pub publish
gh release create
@dart pub publish
@git add .; git commit -m "$(VERSION)"; git push
@gh release create $(VERSION) --generate-notes

0 comments on commit 861a82e

Please sign in to comment.