docs and scripts

This commit is contained in:
Jonathan Shook 2023-01-23 20:04:45 -06:00
parent ee2bda24e7
commit 402154e4c7
6 changed files with 20 additions and 3 deletions

View File

@ -1,10 +1,13 @@
name: build name: build
# This workflow should run for any push or pull request which is neither
# a preview build nor a release build.
on: on:
push: push:
paths: paths:
- "!RELEASENOTES.md" - "!RELEASE_NOTES.md"
- "!PRERELEASE_NOTES.md" - "!PREVIEW_NOTES.md"
pull_request: pull_request:
jobs: jobs:

View File

@ -1,5 +1,10 @@
name: prerelease name: prerelease
# This workflow should run for any push which is a preview build.
# Preview builds are indicated with changes to PREVIEW_NOTES.md.
# In order to effect this, you can do the following:
# scripts/release-notes.sh > PREVIEW_NOTES.md
on: on:
push: push:
branches: branches:

View File

@ -1,11 +1,16 @@
name: release name: release
# This workflow should run for any push which is a preview build.
# Preview builds are indicated with changes to PREVIEW_NOTES.md.
# In order to effect this, you can do the following:
# scripts/release-notes.sh > RELEASE_NOTES.md
on: on:
push: push:
branches: branches:
- main - main
paths: paths:
- RELEASENOTES.** - RELEASE_NOTES.**
jobs: jobs:
release: release:

View File

@ -0,0 +1,2 @@
#!/bin/bash
scripts/release-notes.sh > PREVIEW_NOTES.md

View File

@ -0,0 +1,2 @@
#!/bin/bash
scripts/release-notes.sh > RELEASE_NOTES.md