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
Implement makeLatest input for GitHubRelease task (#21497)
* Implement makeLatest input for GitHubRelease task
- Added new input option 'makeLatest' to specify if the release should be marked as the latest release.
- Bump dependencies in package.json and package-lock.json:
- Updated azure-pipelines-tasks-utility-common to version 3.266.0
- Updated brace-expansion to version 1.1.12
- Increment task version to 1.266 in task.json and task.loc.json
* Add test coverage for all makeLatest values in GitHubRelease task (#21498)
* Initial plan
* Add test coverage for all makeLatest values (true, false, legacy)
Co-authored-by: ivanduplenskikh <115665590+ivanduplenskikh@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ivanduplenskikh <115665590+ivanduplenskikh@users.noreply.github.com>
* Remove done callbacks
* Update unit tests
* Update jsdocs
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: Tasks/GitHubReleaseV1/Strings/resources.resjson/en-US/resources.resjson
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@
34
34
"loc.input.help.isDraft": "Indicate whether the release should be saved as a draft (unpublished). If `false`, the release will be published.",
35
35
"loc.input.label.isPreRelease": "Pre-release",
36
36
"loc.input.help.isPreRelease": "Indicate whether the release should be marked as a pre-release.",
37
+
"loc.input.label.makeLatest": "Make Latest",
38
+
"loc.input.help.makeLatest": "Specify whether to designate this release as the 'latest' release for the repository. Set to 'false' to prevent marking this release as latest, or 'legacy' to use GitHub's legacy latest-release determination based on creation date and semantic versioning.",
37
39
"loc.input.label.addChangeLog": "Add changelog",
38
40
"loc.input.help.addChangeLog": "If set to `true`, a list of changes (commits and issues) between this and the last published release will be generated and appended to the release notes.",
publicstaticreadonlyexpectedCommitBasedChanges="\n\n## loc_mock_ChangeLogTitle:\n\n* xyz Fixing issue #56. [ #9 ]\n* abc Fixing issue #2 #3. [ #4, #5 ]\n\nThis list of changes was [auto generated](MOCK_RELEASE_URL).";
56
56
publicstaticreadonlyexpectedAllIssuesChanges="\n\n## loc_mock_ChangeLogTitle:\n\n* #1: Incorrect color contrast in control panel\n* #2: Text alignment confusing in panel\n* #3: Fixed previous minor bugs\n\nThis list of changes was [auto generated](MOCK_RELEASE_URL).";
57
57
publicstaticreadonlyexpectedIssueBasedChanges="\n\n## loc_mock_ChangeLogTitle:\n\n\n### Closed UX Issues/PRs:\n\n\n* #1: Incorrect color contrast in control panel\n\n### Open Bugs:\n\n\n* #2: Text alignment confusing in panel\n* #3: Fixed previous minor bugs\n\nThis list of changes was [auto generated](MOCK_RELEASE_URL).";
0 commit comments