Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building from release archive #1131

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Dec 2, 2020

  1. Allow building from a release source archive

    Add support for `RELEASE_ARCHIVE_VERSION` environment variable to `build.sc`.
    If `RELEASE_ARCHIVE_VERSION` is set, it assumes, that build is performed from the
    release source archive and does not invoke `git` command, which otherwise would result
    in `fatal: not a git repository` error.
    `RELEASE_ARCHIVE_VERSION` should be set to the source archive version, e.g:
    ```
    $ RELEASE_ARCHIVE_VERSION=2.3.8 mill -i amm[2.13.3].assembly
    ```
    Rolandas Valteris committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    e547c9c View commit details
    Browse the repository at this point in the history
  2. Allow echo command to be located in /usr/bin/echo as well in test ass…

    …ertion
    
    In some Linux distros (e.g., Arch Linux), `/bin` is just a symlink to `/usr/bin` and
    `PATH` does not contain `/bin`. In this case `which echo` returns `/usr/bin/echo` and
    not `/bin/echo`.
    Rolandas Valteris committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    b11817e View commit details
    Browse the repository at this point in the history