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

New release automation #38

Merged
merged 2 commits into from
Sep 22, 2021
Merged

New release automation #38

merged 2 commits into from
Sep 22, 2021

Commits on Sep 21, 2021

  1. chore: make the build flexible

    Changes the behavior of `build.ts` by using two new environment
    variables: BUILD_TARGET and RELEASE_VERSION.
    
    BUILD_TARGET must be one of the targets supported by deno.
    
    RELEASE_VERSION string used for naming the resulting binaries.
    
    Example:
    
      BUILD_TARGET=x86_64-unknown-linux-gnu \
      RELEASE_VERSION=v0.1.0 \
      deno run ... build.ts
    
    If the variables don’t exist, `build.ts` builds a binary based on runtime in use.
    mciurcio committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    e97f68a View commit details
    Browse the repository at this point in the history
  2. feat: creates a new release workflow

    The new workflow does the following:
    
    - Builds binaries for all supported platforms
    - Builds and publish a Docker image
    - Creates and publishes the artifacts to a GitHub release
    
    To trigger the workflow:
    
    - Create a tag for the intended release: `git tag v0.1.0`
    - Push the tag: `git push --tags`
    
    The release is published as a prerelease and needs further information
    at the moment, like the changelog.
    mciurcio committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    b67f7f5 View commit details
    Browse the repository at this point in the history