|
30 | 30 | with: |
31 | 31 | token: ${{ secrets.OPENAPI_SYNC_TOKEN }} |
32 | 32 | - name: Update API with Fern |
33 | | - uses: fern-api/sync-openapi@v3 |
| 33 | + uses: fern-api/sync-openapi@v4 |
34 | 34 | with: |
35 | 35 | update_from_source: true |
36 | 36 | token: ${{ secrets.OPENAPI_SYNC_TOKEN }} |
|
63 | 63 | steps: |
64 | 64 | - uses: actions/checkout@v4 |
65 | 65 | - name: Sync OpenAPI spec to target repo |
66 | | - uses: fern-api/sync-openapi@v3 |
| 66 | + uses: fern-api/sync-openapi@v4 |
67 | 67 | with: |
68 | 68 | repository: <your-org>/<your-target-repo> |
69 | 69 | token: ${{ secrets.<PAT_TOKEN_NAME> }} |
@@ -114,12 +114,12 @@ The GitHub token used for this action must have: |
114 | 114 |
|
115 | 115 | This project uses GitHub Releases to publish new versions. When a release is published, a workflow automatically updates the major and minor version tags so consumers stay up to date. |
116 | 116 |
|
117 | | -For example, publishing release `v3.1.0` will: |
118 | | -- Force-update the `v3` tag (so `@v3` users get the update) |
119 | | -- Force-update the `v3.1` tag (so `@v3.1` users get the update) |
| 117 | +For example, publishing release `v4.1.0` will: |
| 118 | +- Force-update the `v4` tag (so `@v4` users get the update) |
| 119 | +- Force-update the `v4.1` tag (so `@v4.1` users get the update) |
120 | 120 |
|
121 | 121 | To release: |
122 | 122 | 1. Go to [Releases → Draft a new release](../../releases/new) |
123 | | -2. Create a new tag (e.g., `v3.1.0`) following [semver](https://semver.org/) |
| 123 | +2. Create a new tag (e.g., `v4.0.1`) following [semver](https://semver.org/) |
124 | 124 | 3. Click **Publish release** |
125 | 125 |
|
0 commit comments