Skip to content

Commit 2438779

Browse files
author
Daniel Ruthardt
committed
👷 Build and release package
Signed-off-by: Daniel Ruthardt <druthardt@linuxfoundation.org>
1 parent 42cbabc commit 2438779

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: build
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Install development tools
14+
run: |-
15+
sudo apt update
16+
sudo apt install devscripts dpkg-dev build-essential fakeroot
17+
- name: Install build dependencies
18+
run: |-
19+
sudo apt build-dep cloud-initramfs-tools
20+
- name: Build packages
21+
run: |-
22+
debuild -b -us -uc
23+
- name: Get tag
24+
id: get_tag
25+
run: |
26+
echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
27+
echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
28+
- name: Create release and upload package
29+
uses: ncipollo/release-action@v1
30+
with:
31+
artifacts: ../overlayroot_*_all.deb
32+
body: "Release ${{ steps.get_tag.outputs.version }}"
33+
tag: ${{ steps.get_tag.outputs.tag }}
34+
token: ${{ secrets.GITHUB_TOKEN }}

‎debian/changelog‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
cloud-initramfs-tools (0.49) noble; urgency=medium
2+
3+
[ Daniel Ruthardt ]
4+
* overlayroot: Add support for multiple overlay devices
5+
6+
-- Daniel Ruthardt <druthardt@linuxfoundation.org> Thu, 8 Feb 2024 13:24:00 -0600
7+
18
cloud-initramfs-tools (0.48) noble; urgency=medium
29

310
[ Brian Murray ]

0 commit comments

Comments
 (0)