Skip to content

Commit

Permalink
docs and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jshook committed Jan 24, 2023
1 parent ee2bda2 commit 402154e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
@@ -1,10 +1,13 @@
name: build

# This workflow should run for any push or pull request which is neither
# a preview build nor a release build.

on:
push:
paths:
- "!RELEASENOTES.md"
- "!PRERELEASE_NOTES.md"
- "!RELEASE_NOTES.md"
- "!PREVIEW_NOTES.md"
pull_request:

jobs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/preview.yml
@@ -1,5 +1,10 @@
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:
push:
branches:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
@@ -1,11 +1,16 @@
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:
push:
branches:
- main
paths:
- RELEASENOTES.**
- RELEASE_NOTES.**

jobs:
release:
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions scripts/trigger_preview_build.sh
@@ -0,0 +1,2 @@
#!/bin/bash
scripts/release-notes.sh > PREVIEW_NOTES.md
2 changes: 2 additions & 0 deletions scripts/trigger_release_build.sh
@@ -0,0 +1,2 @@
#!/bin/bash
scripts/release-notes.sh > RELEASE_NOTES.md

0 comments on commit 402154e

Please sign in to comment.