Skip to content

Commit a328590

Browse files
committed
Update PDF release workflow to include date in tag name and fix formatting in constitution.md
1 parent 064385b commit a328590

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/pdf-publish.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
name: constitution-pdf
3737
path: constitution.pdf
38-
38+
3939
create-release:
4040
needs: build-pdf
4141
if: github.event_name == 'push'
@@ -46,11 +46,15 @@ jobs:
4646
with:
4747
name: constitution-pdf
4848

49+
- name: Get date
50+
id: date
51+
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
52+
4953
- name: Create Release and Upload PDF
5054
uses: softprops/action-gh-release@v2
5155
with:
52-
tag_name: build-${{ github.run_number }}
53-
name: "Auto-build #${{ github.run_number }}"
56+
tag_name: constitution-${{ steps.date.outputs.date }}-${{ github.run_number }}
57+
name: "constitution-${{ steps.date.outputs.date }}"
5458
files: constitution.pdf
5559
env:
5660
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

constitution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Date of Origin: September 2014
44

5-
Last Updated: March 2026
5+
Last Updated: March 2026
66

77
## Table of Contents
88

0 commit comments

Comments
 (0)