-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb050b7
commit c9d4571
Showing
6 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,10 @@ updateAssemblyInfoFilename: | |
description: Update versions in specified file | ||
required: false | ||
default: '' | ||
updateProjectFiles: | ||
description: Whether to update versions in all project files | ||
required: false | ||
default: 'false' | ||
``` | ||
## Outputs | ||
|
@@ -487,3 +491,20 @@ stages: | |
``` | ||
|
||
</details> | ||
|
||
### Example 10 | ||
|
||
<details> | ||
<summary>Calculate the version for the build. Update the version in the project files.</summary> | ||
|
||
```yaml | ||
steps: | ||
# gitversion/[email protected] task omitted for brevity. | ||
- task: gitversion/[email protected] | ||
displayName: Determine Version | ||
inputs: | ||
updateProjectFiles: true | ||
``` | ||
|
||
</details> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,10 @@ updateAssemblyInfoFilename: | |
description: Update versions in specified file | ||
required: false | ||
default: '' | ||
updateProjectFiles: | ||
description: Whether to update versions in the project files | ||
required: false | ||
default: 'false' | ||
``` | ||
## Outputs | ||
|
@@ -458,3 +462,20 @@ jobs: | |
``` | ||
|
||
</details> | ||
|
||
### Example 9 | ||
|
||
<details> | ||
<summary>Calculate the version for the build. Update the version in the project files.</summary> | ||
|
||
```yaml | ||
steps: | ||
# gittools/actions/gitversion/[email protected] action omitted for brevity. | ||
- name: Determine Version | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
updateProjectFiles: true | ||
``` | ||
|
||
</details> |
This file contains 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
This file contains 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
This file contains 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