Skip to content

ci: add a packaging workflow #1

ci: add a packaging workflow

ci: add a packaging workflow #1

Workflow file for this run

# Cut a release whenever a new tag is pushed to the repo.
---
name: Release
on: # yamllint disable rule:truthy
push:
branches:
- "master"
tags:
- "*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create release archive and notes
run: .github/workflows/create_archive_and_notes.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
# Use GH feature to populate the changelog automatically
generate_release_notes: true
prerelease: ${{ github.ref_name == "master" }}

Check failure on line 27 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 27, Col: 23): Unexpected symbol: '"master"'. Located at position 20 within expression: github.ref_name == "master"
body_path: release_notes.txt
fail_on_unmatched_files: true
files: rules_shellcheck-*.tar.gz