Skip to content

Commit 0e5ae26

Browse files
committed
bump tooling and update ag link
1 parent 7704f9d commit 0e5ae26

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build SMPTE document
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
release:
7+
types: [published]
48

59
env:
610
AWS_REGION: us-east-1
@@ -11,7 +15,12 @@ env:
1115
jobs:
1216
build:
1317
runs-on: ubuntu-latest
14-
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request'
18+
if: >
19+
github.repository_owner == 'SMPTE' && (
20+
(github.event_name == 'push' && github.ref == 'refs/heads/main')
21+
|| github.event_name == 'pull_request'
22+
|| github.event_name == 'release'
23+
)
1524
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
1625
permissions:
1726
id-token: write
@@ -24,14 +33,13 @@ jobs:
2433
uses: actions/checkout@v3
2534
with:
2635
fetch-depth: 0
27-
ref: ${{ github.event.pull_request.head.sha }}
2836
submodules: true
2937

3038
- name: Set repository name
3139
run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
3240

3341
- name: Check out all branches with the exception of the current branch
34-
run: CUR_BRANCH=$(git rev-parse --abbrev-ref HEAD); for i in `git branch -a | grep remote | grep -v HEAD | grep -v ${CUR_BRANCH}`; do git branch --track ${i#remotes/origin/} $i; done
42+
run: CUR_BRANCH=$(git rev-parse --abbrev-ref HEAD); for i in `git branch -a | grep remote | grep -v "remotes/pull" | grep -v HEAD | grep -v ${CUR_BRANCH}`; do git branch --track ${i#remotes/origin/} $i; done
3543

3644
- name: Configure AWS Credentials
3745
uses: aws-actions/configure-aws-credentials@v1-node16
@@ -44,7 +52,7 @@ jobs:
4452
if: github.repository != 'SMPTE/html-pub'
4553
with:
4654
AWS_S3_REGION: ${{env.AWS_REGION}}
47-
AWS_S3_BUCKET: ${{env.AWS_S3_BUCKET}}
55+
AWS_S3_BUCKET: ${{env.AWS_S3_BUCKET}}
4856
AWS_S3_KEY_PREFIX: "${{env.REPOSITORY_NAME}}/"
4957
CANONICAL_LINK_PREFIX: ${{env.CANONICAL_LINK_PREFIX}}
5058
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -54,7 +62,7 @@ jobs:
5462
if: github.repository == 'SMPTE/html-pub'
5563
with:
5664
AWS_S3_REGION: ${{env.AWS_REGION}}
57-
AWS_S3_BUCKET: ${{env.AWS_S3_BUCKET}}
65+
AWS_S3_BUCKET: ${{env.AWS_S3_BUCKET}}
5866
AWS_S3_KEY_PREFIX: "${{env.REPOSITORY_NAME}}/"
5967
CANONICAL_LINK_PREFIX: ${{env.CANONICAL_LINK_PREFIX}}
60-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
68+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
_This repository is *public*._
44

55
* [Latest version](https://doc.smpte-doc.org/ag-10b/main/)
6-
* [Redline against the latest edition](https://doc.smpte-doc.org/ag-10b/main/pub-rl.html)
6+
* [Latest version (all artifacts)](https://doc.smpte-doc.org/ag-10b/main/pub-artifacts.html)
77

88
Please consult [CONTRIBUTING.md](./CONTRIBUTING.md), [CONFIDENTIALITY.md](./CONFIDENTIALITY.md), [LICENSE.md](./LICENSE.md) and
9-
[PATENTS.md](./PATENTS.md) for important notices.
9+
[PATENTS.md](./PATENTS.md) for important notices.
10+
11+
## Reporting issues
12+
13+
Issues should be reported at <https://github.com/SMPTE/ag-10b/issues>.

doc/main.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
<meta charset="utf-8" />
66
<meta http-equiv="x-ua-compatible" content="ie=edge" />
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
<script src="../tooling/smpte.js"></script>
8+
<script type="module" src="../tooling/smpte.js"></script>
99
<meta itemprop="pubType" content="AG" />
1010
<meta itemprop="pubNumber" content="10b" />
11-
<meta itemprop="pubState" content="draft" />
11+
<meta itemprop="pubState" content="pub" />
12+
<meta itemprop="pubStage" content="PUB">
1213
<meta itemprop="pubDateTime" content="2023-01-31" />
1314
<title>Liaisons Agreements</title>
1415
</head>
@@ -226,7 +227,7 @@ <h2>Liaisons Agreements</h2>
226227
<section id="sec-bibliography">
227228
<ul>
228229
<li><cite id="bib-smpte-ag-10">SMPTE AG-10</cite>, Liaisons Delegates Rapporteurs
229-
<a>https://www.smpte.org/about/policies-and-governance</a></li>
230+
<a>https://doc.smpte-doc.org/ag-10/main/</a></li>
230231
</ul>
231232
</section>
232233

tooling

Submodule tooling updated 58 files

0 commit comments

Comments
 (0)