Skip to content

Commit

Permalink
build: Release build automation ([ElementsProject#7776]).
Browse files Browse the repository at this point in the history
Changelog-None
  • Loading branch information
s373nZ committed Nov 5, 2024
1 parent 183da39 commit 088f643
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
# https://docs.corelightning.org/docs/repro
name: "Release 🚀"
on:
push:
# TODO: Remove after testing.
branches:
- 7776-release-builds-automation
tags:
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+[0-9a-z]+'
workflow_dispatch:

jobs:
ubuntu-noble:
name: Release
runs-on: ubuntu-24.04
steps:
- name: Git checkout
uses: actions/checkout@v4

# tools/build-release.sh requires ./configure --reconfigure
- name: Prepare base environment
run: ./configure

- name: Build environment setup
run: contrib/cl-repro.sh

- name: Build release
# TODO: Remove forced version after testing.
run: FORCE_VERSION="24.08.2" tools/build-release.sh bin-Fedora-28-amd64 bin-Ubuntu sign

- name: List release directory
run: ls -alh release/

0 comments on commit 088f643

Please sign in to comment.