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
Copy file name to clipboardExpand all lines: RELEASE.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ This document describes the process for releasing a new version of the `filecoin
14
14
5. Build the project for Linux (X64), Linux (ARM64), and MacOS.
15
15
7. Upload the built assets to the draft release (replace any existing assets with the same name).
16
16
- If for some reason asset uploading fails, the [Upload Release Assets](.github/workflows/upload-release-assets.yml) workflow can be manually run.
17
-
3. On pull request merge, a [Releaser](.github/workflows/release.yml) workflow will run. It will perform the following actions:
17
+
3. On pull request merge, a [Releaser](.github/workflows/releaser.yml) workflow will run. It will perform the following actions:
18
18
1. Extract the version from the top-level `version.json` file.
19
19
2. Check if a git tag for the version already exists. Continue only if it does not.
20
20
3. Check if a draft GitHub release with the version as the tag exists.
21
21
4. If the draft release exists, publish it. Otherwise, create and publish a new release with the version as the git tag. Publishing the release creates the git tag.
22
+
5. Check if the release contains Linux (X64), Linux (ARM64), and MacOS assets. If not:
23
+
1. Build the missing assets.
24
+
2. Upload the built assets to the release.
25
+
- If for some reason asset uploading fails, the [Upload Release Assets](.github/workflows/upload-release-assets.yml) workflow can be manually run.
26
+
22
27
23
28
## Known Limitations
24
29
25
30
1. If one pushes an update to the `version` in the top-level `version.json` file without creating a pull request, the Release Checker workflow will not run. Hence, the release assets will not be automatically built and uploaded.
26
-
27
-
## Possible Improvements
28
-
29
-
1. Add a check to the [Releaser](.github/workflows/release.yml) workflow to ensure that the created/published release contains the expected assets. If it does not, create them and run the [publish-release.sh](rust/scripts/publish-release.sh) script to upload the missing assets.
30
-
- In the interim, if for some reason asset uploading fails, the [Upload Release Assets](.github/workflows/upload-release-assets.yml) workflow can be manually run.
0 commit comments