File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2727 git tag $tag
2828 git push origin $tag
2929 done
30+ - name : update dependencies
31+ run : |
32+ go env -w GOPRIVATE=github.com/gogf/gf
33+ .github/workflows/scripts/update_version.sh ./cmd/gf ${{ github.ref_name }}
3034 - name : Create Pull Request
3135 uses : peter-evans/create-pull-request@v4
3236 with :
@@ -43,16 +47,12 @@ jobs:
4347 author_name : TagRobot
44484549 message : ' fix: update gf cli to ${{ github.ref_name }}'
46- - name : update dependencies
47- run : |
48- go env -w GOPRIVATE=github.com/gogf/gf
49- .github/workflows/scripts/update_version.sh ./cmd/gf ${{ github.ref_name }}
5050 - name : Auto Creating Tags For cli tool
5151 run : |
5252 git config --global user.email "[email protected] " 5353 git config --global user.name "TagRobot"
5454 # auto create tag for cli tool
55- for file in `find cmd -name go.mod`; do
55+ for file in `find cmd -name go.mod -not -path "*/testdata/*" `; do
5656 tag=$(dirname $file)/${{ github.ref_name }}
5757 git tag $tag
5858 git push origin $tag
You can’t perform that action at this time.
0 commit comments