diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d58b96a3..1d2a5a79 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,6 +49,9 @@ jobs: - 5.1-3 otp: - 25.3.2-1 + openssl: + - openssl3 + - openssl elixir: - 1.14.5 arch: @@ -90,7 +93,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: | IMAGE=ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.os }} - docker run -i --rm -v $(pwd):/wd --workdir /wd --platform=linux/${{ matrix.arch }} -e BUILD_RELEASE=1 $IMAGE bash -euc 'git config --global --add safe.directory /wd; make' + docker run -i --rm -v $(pwd):/wd --workdir /wd --platform=linux/${{ matrix.arch }} \ + -e BUILD_RELEASE=1 -e QUIC_TLS=${{ matrix.openssl }} \ + $IMAGE bash -euc 'git config --global --add safe.directory /wd; make' - uses: actions/upload-artifact@v3 if: startsWith(github.ref, 'refs/tags/') diff --git a/pkgname.sh b/pkgname.sh index 54efc12a..6fd526be 100755 --- a/pkgname.sh +++ b/pkgname.sh @@ -29,10 +29,12 @@ esac ARCH="$(uname -m)" VSN="$(git describe --tags --exact-match | head -1)" +OPENSSL=${QUIC_TLS:-openssl} + if [ -z "$VSN" ]; then exit 0 fi OTP="$(erl -noshell -eval 'io:format(erlang:system_info(otp_release)).' -s init stop)" -echo "libquicer-${VSN}-otp${OTP}-${SYSTEM}-${ARCH}.gz" +echo "libquicer-${VSN}-otp${OTP}-${OPENSSL}-${SYSTEM}-${ARCH}.gz"