Follow the instructions below to trigger a release of the Technical Specifications.
To trigger a release, you need to have sufficient permissions on the
wbcsd
GitHub organiztion, as well as on this (wbcsd/data-exchange-protocol
) repositiory and in the target repositorywbcsd/tr
.
You also need to have the GitHub CLI tool locally installed and be logged in to GitHub from your local terminal. See https://cli.github.com/ for further information.
Make sure your specs/v2/index.bs
file is ready. In particular, you should double check if:
- The version number (
Text Macro: VERSION <x.y.z>
) contains a date (e.g.2.2.1-20240521
). This should only be used for the work in progress version of the Technical Specifications and should not be included in any release. - There is a changelog entry, indicating that a release is being made, and whether it is a consultation draft or a stable version.
On your command line, navigate to the data-exchange-protocol
directory.
Use the following command to trigger the release workflow from there:
gh workflow run release -f version=<x.y.z>
Make sure to replace <x.y.z>
by the version of the Technical Specifications being released (e.g., 2.2.1
).
With the command above, the resulting Technical Specifications will be tagged as Stable Release.
If instead you wish to trigger a consultation draft, pass the draft=true
input as follows:
gh workflow run release -f version=<x.y.z> -f draft=true
The resulting document will be tagged as Consultation Draft.
3. Open a PR in the wbcsd/tr
Repository
On your browser, navigate to the wbcsd/tr
repository.
At the top of the page, you shall see a yellow box and a green button to open a Pull Request, like the following:
![Screenshot 2024-05-21 at 19 20 01](https://private-user-images.githubusercontent.com/100690574/332540981-8cb3a8fb-8a9a-41ee-8c4a-52d0d0798987.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzg3NzIsIm5iZiI6MTczOTI3ODQ3MiwicGF0aCI6Ii8xMDA2OTA1NzQvMzMyNTQwOTgxLThjYjNhOGZiLThhOWEtNDFlZS04YzRhLTUyZDBkMDc5ODk4Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxMjU0MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNzBhMGM3OTA0NzRmYTkwNTlmYjVhYTBlYThjZTFjMTRjY2JmMGE5YWY2N2YxNmFiMTZlODg5MDY4ZTNhYjc0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.d5FmjTQwmMhTpwml9C2v8oEIidNze320eKHe0sQhLHM)
Note that the branch name will include the date. This is intended and it does not mean that your version number is wrong. Note also that this screenshot is just an example.
Click the green button "Compare & pull request". On the new page, scroll down and click the green button "Create pull request."
![Screenshot 2024-05-21 at 19 20 30](https://private-user-images.githubusercontent.com/100690574/332540664-86fdbfba-2d88-4e3d-9036-6c2460e347d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzg3NzIsIm5iZiI6MTczOTI3ODQ3MiwicGF0aCI6Ii8xMDA2OTA1NzQvMzMyNTQwNjY0LTg2ZmRiZmJhLTJkODgtNGUzZC05MDM2LTZjMjQ2MGUzNDdkOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxMjU0MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYjljYjBhYjQ2NGE5YzlhZTNiNWFiZTdlM2NkNzRhNTI5OGI5Nzc4Y2FkOGYxOTAzMGNjMDFlOGM0MjExMGIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1ftCicjd7UOubFsSmZ8VB8HAiFfJyxVIk7mJg2HWByg)
Once you are ready (e.g., someone else from the team has reviewed it), merge the PR by clicking the green "Merge pull request" button.
![Screenshot 2024-05-21 at 19 21 41](https://private-user-images.githubusercontent.com/100690574/332540726-befca359-1b1c-4c06-9435-e5cd07c50852.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzg3NzIsIm5iZiI6MTczOTI3ODQ3MiwicGF0aCI6Ii8xMDA2OTA1NzQvMzMyNTQwNzI2LWJlZmNhMzU5LTFiMWMtNGMwNi05NDM1LWU1Y2QwN2M1MDg1Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxMjU0MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYmFhZTFlOGZlNjEyODM2MTIwMmY3MTgwZGM5YzUzZGE4NGYxNjg1YTU4YTY3N2VlZWM3NGM3ZTAzOTNjZTViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.pL74cHV5VSfk9ZsMm5DeSb50dAt5uqjD08Fo-B_xPww)