Skip to content

Comment out gazelle defs for now, since they break the build when dev… #5

Comment out gazelle defs for now, since they break the build when dev…

Comment out gazelle defs for now, since they break the build when dev… #5

Workflow file for this run

# Cut a release whenever a new tag is pushed to the repo.
# You should use an annotated tag, like `git tag -a v1.2.3`
# and put the release notes into the commit message for the tag.
name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: .bazelrc.ci
run: |
python -c "import os; file = open('.bazelrc.ci', 'w'); file.write(os.environ['BAZELRC_CI']); file.close()"
shell: bash
env:
BAZELRC_CI: ${{secrets.BAZELRC_CI}}
- name: bazel test //...
run: bazel test -- //...
- name: Prepare release
run: .github/workflows/release_prep.sh ${{ env.GITHUB_REF_NAME }} > release_notes.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
# Use GH feature to populate the changelog automatically
generate_release_notes: true
body_path: release_notes.txt
files: rules_pycross-*.tar.gz
fail_on_unmatched_files: true