Skip to content

Commit

Permalink
chore(build): add version bump task
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBrazier committed Dec 16, 2024
1 parent 2f93232 commit 5f21f48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ tasks:
- "gquil introspection generate-sdl https://api.hardcover.app/v1/graphql -H 'Authorization: {{ .HARDCOVER_TOKEN }}' > schemas/hardcover/schema.gql"
requires:
vars: [HARDCOVER_TOKEN]

version:
vars:
NEW_VERSION:
sh: git cliff --bumped-version
prompt: "Bumping version to {{ .NEW_VERSION }}, continue?"
cmds:
- git tag -f {{ .NEW_VERSION }}

0 comments on commit 5f21f48

Please sign in to comment.