Skip to content

Commit

Permalink
add cut-release github workflow (#142)
Browse files Browse the repository at this point in the history
Add workflow to create a GitHub release from a pushed tag

Workflow will build the release tarball and attach it to the release. The used GitHub action also produces a changelog.

Co-authored-by: lrfurtado <lrfurtado@users.noreply.github.com>
Co-authored-by: Filipe Brandenburger <filbranden@gmail.com>
  • Loading branch information
3 people committed Sep 29, 2022
1 parent 86edd38 commit 413a93f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create GitHub release from pushed tag
on:
push:
tags:
- v*
jobs:
cut_release:
runs-on: ubuntu-22.04
steps:
- name: Install deps
run: |
sudo apt-get install -y build-essential fakeroot
- name: Checkout code
uses: actions/checkout@v3
- name: "Build & test"
run: |
./autogen.sh
./configure
fakeroot make distcheck
- name: Create Release
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: false
prerelease: false
files: numactl-*.tar.gz

0 comments on commit 413a93f

Please sign in to comment.