log context cancellation reasons (#33) #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v3 | |
- name: Prepare workspace snippet | |
run: .github/workflows/workspace_snippet.sh ${{ env.GITHUB_REF_NAME }} > release_notes.txt | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
prerelease: true | |
# Use GH feature to populate the changelog automatically | |
generate_release_notes: true | |
body_path: release_notes.txt | |
files: rules_gitops-*.tar.gz | |