Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: improve the release scripts #318

Merged
merged 3 commits into from
Apr 6, 2023
Merged

Conversation

abrown
Copy link
Collaborator

@abrown abrown commented Mar 29, 2023

These changes refactor the release scripts, moving one block of functionality to its own script (is-workflow-valid.sh) and allowing the script input parameters to be set from the environment.

This change refactors the script logic that checks if a workflow in fact
built the commit matching our release tag out into a separate script.
This is mainly an improvement in clarity.
When testing out these scripts on a fork, I realized that it was more
convenient to use a single environment variable (e.g.,
`GITHUB_API_URL=... ci/draft-release.sh`) to change some of the script's
input parameters.
I found the artifacts created to have incorrect version numbers;
clearing the Actions cache should resolve this.
@abrown abrown merged commit 95af0b8 into WebAssembly:main Apr 6, 2023
@abrown abrown deleted the ci-improvements branch April 6, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant