Set a flag for dev builds to fix manifest issue - #149
Merged
Conversation
p-jackson
approved these changes
May 23, 2024
p-jackson
left a comment
Member
There was a problem hiding this comment.
LGTM.
The step doesn't run on PR builds, so there's no better way to test other than to merge. YOLO.
| buildkite-agent artifact download "*.exe" . | ||
|
|
||
| echo "--- :node: Generating Release Manifest" | ||
| export IS_DEV_BUILD=true |
Member
There was a problem hiding this comment.
Or IS_DEV_BUILD=true node ./scripts/generate-releases-manifest.mjs to make it explicit the flag is specifically for the generate-releases-manifest script.
Contributor
Author
|
It worked fine, as the 'dev' builds section in manifest was regenerated: And here is the section: However, links don't work so we need to check it more. |
Member
|
I notice the |
Contributor
Author
|
@p-jackson I fixed those in #153 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to https://github.com/Automattic/dotcom-forge/issues/7339
Proposed Changes
I propose to set an environment variable to state that the given build is a dev build. That way, the manifest can be generated correctly for dev builds after recent pipeline changes.
Testing Instructions
See if the manifest is generated correctly and if dev builds are updated.
Currently, 'Distribute Dev Builds' step runs only for trunk, so it can't be tested before the merge.
Pre-merge Checklist