mirror of
https://github.com/hamonikr/systemback.git
synced 2025-12-23 22:17:46 -05:00
Release on Ubuntu 24.04
This commit is contained in:
54
.github/workflows/ci.yml
vendored
Normal file
54
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
name: Build and Release Debian Package
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Debian Package
|
||||
uses: jtdor/build-deb-action@v1
|
||||
env:
|
||||
DEB_BUILD_OPTIONS: noautodbgsym
|
||||
with:
|
||||
docker-image: ubuntu:24.04
|
||||
buildpackage-opts: --build=binary --no-sign
|
||||
# When change deb package name as git rev id
|
||||
# before-build-hook: debchange --controlmaint --local="+ci${{ github.run_id }}~git$(git rev-parse --short HEAD)" "CI build"
|
||||
extra-build-deps: devscripts git equivs debhelper build-essential
|
||||
host-arch: amd64
|
||||
artifacts-dir: debian/artifacts
|
||||
|
||||
- name: Upload Debian Package
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: debian-package
|
||||
path: debian/artifacts/*.deb
|
||||
|
||||
release:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: debian-package
|
||||
path: .
|
||||
|
||||
- run: ls -R .
|
||||
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ./*.deb
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
systemback (2.0.2) stable; urgency=low
|
||||
|
||||
* Release on Ubuntu 24.04
|
||||
|
||||
-- HamoniKR <pkg@hamonikr.org> Tue, 18 Jun 2024 14:02:12 +0900
|
||||
|
||||
systemback (2.0.1) stable; urgency=low
|
||||
|
||||
* Release on Ubuntu 22.04
|
||||
|
||||
Reference in New Issue
Block a user