11 Commits

Author SHA1 Message Date
7542b17a74 Merge branch 'draft' into release-candidate
All checks were successful
CI - Docs build check / build-check (push) Successful in 9s
2026-04-26 09:54:40 -05:00
6c53b426bb use summary-of-changes in release notes
All checks were successful
CI - Docs build check / build-check (push) Successful in 49s
Build & publish docs (rc + release) / publish (push) Successful in 20s
2026-04-26 09:25:22 -05:00
6143d0fdd9 build 2024-06-06 06:42:14 -05:00
e34297f200 update publish date 2024-06-06 06:35:10 -05:00
ae31a90185 DR using last out
Addresses #13
2024-06-06 06:33:37 -05:00
89e0973c27 postponing games in extraordinary circumstances.
address #10
2024-06-06 06:33:37 -05:00
6d7d0531ce removed "extraordinary circumstances", add "not resumed"
this doesn't really apply, as the league does not resume suspended games in the regular season.
2024-01-19 15:19:29 -06:00
2b29a561da update readme with github pages instructions 2024-01-19 14:49:32 -06:00
9a3939f42e update metadata date 2024-01-19 14:20:46 -06:00
063f66fc6b clarify 'no game' and slaughter rule
address issue #9
2024-01-19 13:44:27 -06:00
8c91733d65 move uniform to correct section
address issue #11
remove "Uniform" from section "Team Rosters; Players and Eligibility; Uniforms"
"Uniform" subsection stays in "Teams and Managers" section
Add "Player Uniforms" reference to "Uniform" subsection in "General Play"
2024-01-19 13:44:26 -06:00
2 changed files with 18 additions and 2 deletions

View File

@@ -115,6 +115,20 @@ jobs:
cd "${RUNNER_TEMP}/mkdocs_out/site_offline/"
zip -r "${GITHUB_REF_NAME}.zip" ./${GITHUB_REF_NAME}
- name: Prepare release notes
run: |
set -euo pipefail
RELEASE_NOTES="${RUNNER_TEMP}/release-notes.md"
if [[ "${GITHUB_REF_NAME}" == draft* || "${GITHUB_REF_NAME}" == rc* ]]; then
printf 'Prerelease.\n\n' > "${RELEASE_NOTES}"
else
: > "${RELEASE_NOTES}"
fi
cat docs/summary-of-changes.md >> "${RELEASE_NOTES}"
- name: Publish prerelease
if: startsWith(github.ref_name, 'rc') || startsWith(github.ref_name, 'draft')
uses: softprops/action-gh-release@v2
@@ -122,8 +136,7 @@ jobs:
prerelease: true
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
body: |
Prerelease.
body_path: ${{ runner.temp }}/release-notes.md
files: |
${{ runner.temp }}/mkdocs_out/site_offline/${{ github.ref_name }}.zip
${{ runner.temp }}/pandoc/${{ github.ref_name }}-${{ env.SHORT_SHA }}.docx
@@ -134,6 +147,7 @@ jobs:
with:
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
body_path: ${{ runner.temp }}/release-notes.md
files: |
${{ runner.temp }}/mkdocs_out/site_offline/${{ github.ref_name }}.zip

View File

@@ -69,6 +69,8 @@ It builds both the normal site and an offline site package, then publishes based
- `rc*`: creates a GitHub prerelease, attaches the offline zip and generated `.docx`, and deploys the preview site to the `gh-pages` branch under `/rc/`
- `v*`: creates a GitHub release, attaches the offline zip, and deploys the release site to the root of the `gh-pages` branch
The GitHub release description is generated from `docs/summary-of-changes.md`. Draft and release-candidate prereleases prepend a short prerelease note before that summary.
In all cases, the release workflow uses the same MkDocs configuration in `mkdocs/mkdocs.yml`, with strict mode controlled by the `MKDOCS_STRICT` GitHub Actions variable.
## Project History