File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,27 @@ jobs:
1818 uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0
21+
22+ - name : Install YQ
23+ uses : dcarbone/install-yq-action@v1.1.1
24+
25+ - name : Get Version
26+ run : |
27+ version=$(yq -r .version plugin.yaml)
28+ echo "version=$version" >> $GITHUB_OUTPUT;
29+ echo "version=$version";
30+ id : version
31+
32+ - name : Tag Commit
33+ run : |
34+ git tag -f ${{ steps.version.outputs.version }} $(git rev-parse HEAD)
35+ git push origin refs/tags/${{ steps.version.outputs.version }}
36+
2137 - name : Set up Go
2238 uses : actions/setup-go@v5
2339 with :
2440 go-version-file : ' go.mod'
41+
2542 - name : Run GoReleaser
2643 uses : goreleaser/goreleaser-action@v6
2744 with :
Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ archives:
2626 - plugin.yaml
2727 - LICENSE
2828
29+ # prefer the changelog by changesets as we are using that
2930changelog :
30- use : github-native
31+ disable : true
3132
3233release :
3334 prerelease : auto
You can’t perform that action at this time.
0 commit comments