Skip to content

Solution Version: incrementing solution version while exporting #280

Closed Answered by paulbreuler
anshupandey0407 asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand the ask correctly then my suggestion would be to do this as part of you pipeline using pac solution version --strategy Solution .

Example:

egrep "<Version>.*</Version>" src/Other/Solution.xml
<Version>1.0.1</Version>
pac solution version --strategy Solution
Build version updated for I:\Work-Repos\test\src\Other\Solution.xml.
egrep "<Version>.*</Version>" src/Other/Solution.xml
    <Version>1.0.2</Version>

The equivalent in GitHub Actions for the Power Platform is update-solution-version
https://github.com/microsoft/powerplatform-actions/blob/main/update-solution-version/action.yml

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by paulbreuler
Comment options

You must be logged in to vote
2 replies
@paulbreuler
Comment options

@pratham-p
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #270 on February 09, 2023 15:24.