You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PDF specs are stored as attachments to [github releases](https://github.com/input-output-hk/cardano-ledger/releases)
96
+
We can create a release that builds and attaches the latest specs, by triggering the [push-docs github action](https://github.com/input-output-hk/cardano-ledger/blob/master/.github/workflows/push-specs.yml).
97
+
This github action can be triggered by pushing a tag of the pattern: `cardano-ledger-spec-YYYY-MM-DD`, for example: `cardano-ledger-spec-2023-01-17`
98
+
99
+
For example, if we decide it's time to publish new versions of docs,
100
+
we can do the following to publish the PDFs under release `cardano-ledger-spec-2023-03-21`:
101
+
```
102
+
git tag cardano-ledger-spec-2023-03-21
103
+
git push origin cardano-ledger-spec-2023-03-21
104
+
```
105
+
106
+
This will create a new release that will be available as [latest](https://github.com/input-output-hk/cardano-ledger/releases/latest).
107
+
Make sure that the `YYYY-MM-DD` part in the tag name is alphabetically greater than the rest, otherwise the release won't be tagged as `latest`.
108
+
Using the current date should ensure that this is the case.
0 commit comments