From 3e23c5283625d2a1d2ed6023e25f6b978f771e2a Mon Sep 17 00:00:00 2001 From: June Kim Date: Sat, 9 May 2026 15:13:03 -0700 Subject: [PATCH] ci: automate release build and upload Adds GitHub Actions workflow to build and upload release binaries on tag push. Uses existing build.bash script to create cross-platform binaries for promxy and remote_write_exporter, then uploads to GitHub release with auto-generated release notes. Eliminates manual `make release` + upload step. Fixes #582 --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..82ddcf34e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: release + +on: + push: + tags: + - v* + +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.24' + + - name: Build release binaries + run: make release + + - name: Create GitHub release + uses: softprops/action-gh-release@v2 + with: + files: | + build/* + draft: false + prerelease: false + generate_release_notes: true