File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,39 +12,31 @@ jobs:
1212 release :
1313 name : Release
1414 runs-on : ubuntu-latest
15-
15+
1616 steps :
1717 - uses : actions/checkout@v4
1818 with :
1919 fetch-depth : 0
20-
20+
2121 - name : Set up Go
2222 uses : actions/setup-go@v4
2323 with :
2424 go-version : ' 1.23'
25-
25+
2626 - name : Get version
2727 id : version
2828 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
29-
30- - name : Install golangci-lint
31- run : |
32- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
33- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
34-
35- - name : Run tests and verification
36- run : make verify
37-
29+
3830 - name : Build all platforms
3931 run : |
4032 VERSION=${{ steps.version.outputs.VERSION }} make build-all
41-
33+
4234 - name : Create checksums
4335 run : |
4436 cd build
4537 sha256sum * > checksums.txt
4638 cat checksums.txt
47-
39+
4840 - name : Generate changelog
4941 id : changelog
5042 run : |
6052 echo "- Initial release" > current_changes.txt
6153 fi
6254 fi
63-
55+
6456 # Prepare release body
6557 echo "## What's Changed" > release_body.txt
6658 cat current_changes.txt >> release_body.txt
7971 echo '```' >> release_body.txt
8072 cat build/checksums.txt >> release_body.txt
8173 echo '```' >> release_body.txt
82-
74+
8375 - name : Create Release
8476 uses : softprops/action-gh-release@v1
8577 with :
9486 prerelease : ${{ contains(steps.version.outputs.VERSION, '-') }}
9587 env :
9688 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97-
89+
9890 - name : Update installation script
9991 run : |
10092 # Update the version in install.sh if it exists
You can’t perform that action at this time.
0 commit comments