Skip to content

Commit

Permalink
ci: be sure to have version properly set
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Apr 3, 2024
1 parent 7b772bf commit 3a2c6dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions SoundSwitch/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyFileVersion("6.9.0")]
[assembly: AssemblyInformationalVersion("6.9.0-beta.1")]
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@
"prepareCmd": "sed -i -E 's/AssemblyInformationalVersion\\(.+\\)/AssemblyInformationalVersion(\"${nextRelease.version}\")/' SoundSwitch/Properties/AssemblyInfo.cs"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i -E 's/AssemblyFileVersion\\(.+\\)/AssemblyFileVersion(\"${nextRelease.version}\")/' SoundSwitch/Properties/AssemblyInfo.cs"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i -E 's/AssemblyFileVersion\\(\"(.+?)(-[^\"]+)?\"\\)/AssemblyFileVersion(\"\\1\")/' SoundSwitch/Properties/AssemblyInfo.cs" }
],
[
"@semantic-release/git",
{
Expand Down

0 comments on commit 3a2c6dd

Please sign in to comment.