File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Release a tag
3+ on :
4+ push :
5+ tags :
6+ - v[0-9]+.[0-9]+.[0-9]+
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v5
13+ with :
14+ fetch-depth : 0
15+ lfs : true
16+
17+ - name : Fetch and checkout LFS objects
18+ run : |
19+ git lfs fetch --all
20+ git lfs checkout
21+
22+ - uses : jdx/mise-action@v3
23+ with :
24+ install : true
25+
26+ - name : release tag
27+ run : mise run release
28+ env :
29+ RELEASE_VERSION : ${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -105,3 +105,9 @@ run = [
105105]
106106outputs = [" dist/editors" , " dist/list" ]
107107sources = [" bin/**" ]
108+
109+ [tasks ."release" ]
110+ description = " Release a go module"
111+ run = [
112+ " GOPROXY=proxy.golang.org go list -m github.com/fiffeek/teastraw@${RELEASE_VERSION}" ,
113+ ]
You can’t perform that action at this time.
0 commit comments