diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ff78f706..b97dfd64 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -51,11 +51,29 @@ jobs: - run: opam pin add mldonkey.dev . --no-action - - run: opam depext mldonkey --yes --with-doc --with-test - - run: opam install . --deps-only --with-doc --with-test - - run: opam exec -- ./configure --enable-debug + - run: opam exec -- env SHELLOPTS=igncr bash ./configure --enable-debug + continue-on-error: true + + - run: opam exec -- env SHELLOPTS=igncr sh ./configure --enable-debug + continue-on-error: true + + - run: opam exec -- bash ./configure --enable-debug + continue-on-error: true + + - run: opam exec -- sh ./configure --enable-debug + continue-on-error: true + + # ref SHELLOPTS https://github.com/ocaml/setup-ocaml/issues/815#issuecomment-2204838759 + - name: Set SHELLOPTS=igncr on Windows + if: runner.os == 'Windows' + run: echo "SHELLOPTS=igncr" >>"$GITHUB_ENV" + + - run: opam exec -- bash ./configure --enable-debug + continue-on-error: true + + - run: opam exec -- sh ./configure --enable-debug - run: opam exec -- make diff --git a/Justfile b/Justfile index 063975f9..545d94f8 100644 --- a/Justfile +++ b/Justfile @@ -2,8 +2,30 @@ build: make +clean: + make clean + +releaseclean: + make releaseclean + config: ./configure --enable-debug --enable-upnp-natpmp autoconf: cd config && autoconf + +release: releaseclean autoconf config build + +git tag release-3-2-1 +git archive --prefix=mldonkey-3.2.1/ release-3-2-1 | bzip2 > mldonkey-3.2.1.tar.bz2 +gpg -a -b mldonkey-3.2.1.tar.bz2 > mldonkey-3.2.1.tar.bz2.asc +git push +git push --tags +qvm-copy-to-vm web mldonkey-3.2.1.tar.bz2* +mv mldonkey-3.2.1.tar.bz2* ~/p/release/mldonkey/ +pushd ~/p/release/mldonkey + git add mldonkey-3.2.1.tar.bz2* + git commit -m "+ mldonkey 3.2.1" + git push +popd +opam-url mldonkey 3.2.1