Skip to content

Commit

Permalink
Release 0.12.5
Browse files Browse the repository at this point in the history
add a github release action helper.
smoke also pull requests and tags (for the release)

avoid UNKNOWN.tar.gz on --depth 1 checkouts
  • Loading branch information
rurban committed Feb 6, 2022
1 parent 4f431cc commit 24cea42
Show file tree
Hide file tree
Showing 18 changed files with 491 additions and 41 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
- master
- smoke/*
- gh/*
tags:
- '0.*.*'
- '0.*'
pull_request:
branches:
- '*'

#strategy:
# matrix:
Expand Down Expand Up @@ -46,12 +52,23 @@ jobs:
- if: matrix.CONFIGURE_ARGS == '--enable-gcov --disable-bindings'
name: Run make codecov if --enable-gcov
run: make codecov
# FIXME deps
- if: matrix.CONFIGURE_ARGS == '--enable-release'
name: Run make distcheck if --enable-release
run: |
sudo apt-get -y install texlive help2man libconvert-binary-c-perl
make distcheck
- if: matrix.CONFIGURE_ARGS == '--enable-release' && startsWith(github.ref, 'refs/tags/')
name: Prep-Release
run: sha256sum libredwg-*.tar.* > dist.sha256
- if: matrix.CONFIGURE_ARGS == '--enable-release' && startsWith(github.ref, 'refs/tags/')
name: Release
continue-on-error: true
uses: softprops/action-gh-release@v1
with:
body_path: dist.sha256
files: |
dist.sha256
libredwg-*.tar.*
linux-cmake:
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
Loading

0 comments on commit 24cea42

Please sign in to comment.