Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes in the code include the addition of a ne…
…w environment variable `TAG_NAME`, the simplification of conditions for the `Build App` steps, and the update of several steps to use the `TAG_NAME` variable. Additionally, the `Upload a Build Artifact` step has been updated to only run if `CreateRelease` is false, and the paths for the `Upload a Build Artifact` and `Upload MSI to release` steps have been updated to use a backslash instead of a forward slash. Here is a summary of the changes: 1. The descriptions for the `SelfContained` and `CreateRelease` inputs in the `build-and-release.yml` file have been updated for clarity. This change improves the understanding of these inputs. 2. The `run-name` has been updated to include a 'v' before the version number. This change makes the version number more recognizable. 3. A new environment variable `TAG_NAME` has been added, which includes a 'v' before the `CreateRelease` input. This change standardizes the tag naming convention. 4. The validation message for the version format has been updated to include a period at the end. This change improves the readability of the message. 5. The conditions for the `Build App` and `Build App (Self-contained)` steps have been simplified. This change makes the code cleaner and easier to understand. 6. The condition for the `Upload a Build Artifact` step has been updated to only run if `CreateRelease` is false. This change prevents unnecessary execution of the step. 7. The `Create tag`, `Create release draft`, and `Upload MSI to release` steps have been updated to use the `TAG_NAME` environment variable instead of the `Version` input. This change ensures consistency in the use of the new `TAG_NAME` variable. 8. The paths for the `Upload a Build Artifact` and `Upload MSI to release` steps have been updated to use a backslash instead of a forward slash. This change corrects the path format. 9. The `Create release draft` and `Upload MSI to release` steps have been updated to use the `TAG_NAME` environment variable in the title and upload command respectively. This change ensures that the correct tag name is used in these steps.
- Loading branch information