Skip to content

Commit

Permalink
Merge pull request #79 from aquaproj/chore/fix-release-task
Browse files Browse the repository at this point in the history
chore: fix release task
  • Loading branch information
suzuki-shunsuke authored Sep 25, 2022
2 parents a6ccab1 + 0d40974 commit 70e81d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .cmdx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ tasks:
short: r
description: release the new version
usage: release the new version
script: "bash scripts/release.sh {{.version}}"
script: |
git tag -m "chore: release {{.version}}" "{{.version}}"
git push origin "{{.version}}"
args:
- name: version
required: true
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
- name: remove changes
# Sometimes it is failed to release by goreleaser due to changes of go.sum
run: git checkout -- .
- name: fetch tags to release
run: git fetch --tags
- name: Unshallow
run: git fetch --prune --unshallow
- name: Run GoReleaser
Expand Down

0 comments on commit 70e81d1

Please sign in to comment.