summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yml15
-rw-r--r--CONTRIBUTING.md4
2 files changed, 13 insertions, 6 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 71b2a58..f408491 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -3,6 +3,7 @@ on:
3 push: 3 push:
4 branches: 4 branches:
5 - "release-*" 5 - "release-*"
6 - "master"
6 tags: 7 tags:
7 - "v*" 8 - "v*"
8 pull_request: 9 pull_request:
@@ -46,8 +47,8 @@ jobs:
46 container: ubuntu:focal 47 container: ubuntu:focal
47 - name: ubuntu-jammy 48 - name: ubuntu-jammy
48 container: ubuntu:jammy 49 container: ubuntu:jammy
49 - name: ubuntu-impish 50 - name: ubuntu-kinetic
50 container: ubuntu:impish 51 container: ubuntu:kinetic
51 steps: 52 steps:
52 - name: Checkout code 53 - name: Checkout code
53 uses: actions/checkout@v2 54 uses: actions/checkout@v2
@@ -55,9 +56,15 @@ jobs:
55 if: startsWith(matrix.container, 'ubuntu:') 56 if: startsWith(matrix.container, 'ubuntu:')
56 run: ln -snf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone 57 run: ln -snf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone
57 - name: Update OS 58 - name: Update OS
58 run: apt-get -qqy update 59 run: |
60 apt-get -qqy update || \
61 sudo apt-get -qqy update
59 - name: Install deps 62 - name: Install deps
60 run: DEBIAN_FRONTEND=noninteractive apt-get -qqy --no-install-recommends install fakeroot php-xml php-curl dpkg-dev gcc make libpcre3-dev dh-php php-dev build-essential 63 run: |
64 export DEBIAN_FRONTEND=noninteractive
65 export PACKAGES_TO_INSTALL="fakeroot php-xml php-curl dpkg-dev gcc make libpcre3-dev dh-php php-dev build-essential"
66 apt-get -qqy --no-install-recommends install $PACKAGES_TO_INSTALL ||
67 sudo apt-get -qqy --no-install-recommends install $PACKAGES_TO_INSTALL
61 - name: Build debs 68 - name: Build debs
62 run: DPKG_SKIP_TESTS=1 dpkg-buildpackage -i -us -uc -tc -I -rfakeroot 69 run: DPKG_SKIP_TESTS=1 dpkg-buildpackage -i -us -uc -tc -I -rfakeroot
63 - name: Move built debs and rename 70 - name: Move built debs and rename
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4ff2bee..8e84abd 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -139,8 +139,8 @@ Maintainers need to do the following to push out a release:
139 git push origin master 139 git push origin master
140 ``` 140 ```
141 141
1429. Build the debian package with `make debian` 1429. Wait for the CI on the new tag branch to finish
14310. Create the [release on github](https://github.com/jvoisin/snuffleupagus/releases) 14310. Create the [release on github](https://github.com/jvoisin/snuffleupagus/releases)
14411. Add the freshly built Debian package to the release 14411. Add the freshly built Debian packages from the CI to the release
14512. Publish a [tweet](https://twitter.com/sp_php) 14512. Publish a [tweet](https://twitter.com/sp_php)
14613. Do the *secret release dance* 14613. Do the *secret release dance*