Skip to content

Commit

Permalink
Use Debian for release packages
Browse files Browse the repository at this point in the history
This brings a more recent automake that build configure scripts that work with Python 3.10.
  • Loading branch information
cschramm committed Jul 9, 2022
1 parent 3aa5bc8 commit 2b5f850
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
release:
runs-on: ubuntu-20.04
container:
image: buildpack-deps:bullseye-scm
steps:
- uses: actions/checkout@v2
- run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/}"
Expand All @@ -17,12 +19,13 @@ jobs:
notes="${notes//$'\r'/'%0D'}"
echo ::set-output name=NOTES::$notes
id: notes
shell: bash
- run: '[ -n "${{ steps.notes.outputs.NOTES }}" ] || (echo "Failed to parse changelog" && exit 1)'
- run: grep --quiet '^AC_INIT(\[blueman\], \[${{ steps.version.outputs.VERSION }}\]' configure.ac || (echo "Did not find expected verson in configure.ac" && exit 1)
- run: "grep --quiet \"version: '${{ steps.version.outputs.VERSION }}'\" meson.build || (echo 'Did not find expected verson in meson.build' && exit 1)"
- run: git archive --prefix="blueman-${{ steps.version.outputs.VERSION }}/" HEAD | tar x
- run: sudo apt-get update
- run: sudo apt-get install -y -qq --no-install-recommends autopoint
- run: apt-get update
- run: apt-get install -y -qq --no-install-recommends autopoint automake libtool pkg-config
- run: NOCONFIGURE=1 ./autogen.sh
working-directory: "blueman-${{ steps.version.outputs.VERSION }}"
- run: tar cJf "blueman-${{ steps.version.outputs.VERSION }}.tar.xz" "blueman-${{ steps.version.outputs.VERSION }}"
Expand Down

0 comments on commit 2b5f850

Please sign in to comment.