Skip to content

chore: bump to 11.1.0 #5

chore: bump to 11.1.0

chore: bump to 11.1.0 #5

Workflow file for this run

name: Rolling Release
on:
push:
branches:
- master
concurrency:
group: rolling-release
cancel-in-progress: true
permissions:
contents: write
jobs:
rolling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-go@v6.3.0
with:
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v7.0.0
with:
args: release --snapshot --clean
- name: Rename binaries with platform suffix
run: |
for f in dist/dis_linux_*/dis dist/dis_darwin_*/dis; do
name=$(basename "$(dirname "$f")" | sed 's/_v[0-9].*//')
cp "$f" "dist/${name}"
done
for f in dist/dis_windows_*/*.exe; do
name=$(basename "$(dirname "$f")" | sed 's/_v[0-9].*//')
cp "$f" "dist/${name}.exe"
done
- name: Delete existing rolling release
run: gh release delete rolling --yes --cleanup-tag || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: softprops/action-gh-release@v2.5.0
with:
tag_name: rolling
name: Rolling Release
prerelease: true
files: |
dist/*.deb
dist/*.rpm
dist/dis_linux_amd64
dist/dis_linux_arm64
dist/dis_darwin_amd64
dist/dis_darwin_arm64
dist/dis_windows_amd64.exe
dist/dis_windows_arm64.exe
dist/*_checksums.txt