Skip to content

Commit

Permalink
Merge pull request #196 from aquaproj/chore/add-release-task
Browse files Browse the repository at this point in the history
chore: add release task
  • Loading branch information
suzuki-shunsuke authored Aug 5, 2022
2 parents e436f3b + c7d9562 commit 8e1d1dd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .cmdx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
# the configuration file of cmdx - task runner
# https://github.com/suzuki-shunsuke/cmdx
tasks:
- name: release
short: r
description: release the new version
usage: release the new version
script: |
git tag -m "chore: release {{.version}}" "{{.version}}"
git push origin "{{.version}}"
args:
- name: version
required: true
validate:
- regexp: "^\\d+\\.\\d+.\\d+(-\\d+)?$"

0 comments on commit 8e1d1dd

Please sign in to comment.