File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Auto-release on master
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [master]
66
77permissions :
88 contents : write
1414 steps :
1515 - uses : actions/checkout@v4
1616 with :
17- fetch-depth : 0 # get full history so we can diff
17+ fetch-depth : 0 # get full history so we can diff
1818
1919 - name : Extract version from commit message
2020 id : get_version
8787 echo "notes_file=release-notes.md" >> "$GITHUB_OUTPUT"
8888
8989 - name : pack and publish
90+ if : ${{ steps.get_version.outputs.version != '' }}
9091 run : |
9192 make pack
9293 make publish apiKey=${{ secrets.NUGET_PUBLISHING_KEY }}
@@ -97,21 +98,20 @@ jobs:
9798 ver="${{ steps.get_version.outputs.version }}"
9899 git tag -f "$ver" "$GITHUB_SHA"
99100 git push -f origin "refs/tags/$ver"
100-
101+
101102 - name : Create GitHub release
102103 if : ${{ steps.get_version.outputs.version != '' }}
103104 env :
104105 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105106 run : |
106107 ver="${{ steps.get_version.outputs.version }}"
107108 notes_file="${{ steps.relnotes.outputs.notes_file }}"
108-
109+
109110 if gh release view "$ver" &>/dev/null; then
110111 gh release delete "$ver" --yes
111112 fi
112-
113+
113114 gh release create "$ver" \
114115 --title "$ver" \
115116 --notes-file "$notes_file" \
116117 --target "$GITHUB_SHA"
117-
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
3131 /// Version of the package.
3232 /// </summary>
3333 /// <value>Version of the package.</value>
34- public const string Version = "12 .0.0" ;
34+ public const string Version = "13 .0.0" ;
3535
3636 /// <summary>
3737 /// Identifier for ISO 8601 DateTime Format
@@ -96,7 +96,7 @@ public class Configuration : IReadableConfiguration
9696 [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "ReSharper" , "VirtualMemberCallInConstructor" ) ]
9797 public Configuration ( )
9898 {
99- UserAgent = "OpenAPI-Generator/12 .0.0/csharp" ;
99+ UserAgent = "OpenAPI-Generator/13 .0.0/csharp" ;
100100 BasePath = "https://yourbaseurl.talon.one" ;
101101 DefaultHeaders = new ConcurrentDictionary < string , string > ( ) ;
102102 ApiKey = new ConcurrentDictionary < string , string > ( ) ;
@@ -351,7 +351,7 @@ public static String ToDebugReport()
351351 String report = "C# SDK (TalonOne) Debug Report:\n " ;
352352 report += " OS: " + System . Runtime . InteropServices . RuntimeInformation . OSDescription + "\n " ;
353353 report += " Version of the API: \n " ;
354- report += " SDK Package Version: 12 .0.0\n " ;
354+ report += " SDK Package Version: 13 .0.0\n " ;
355355
356356 return report ;
357357 }
Original file line number Diff line number Diff line change 2929// You can specify all the values or you can default the Build and Revision Numbers
3030// by using the '*' as shown below:
3131// [assembly: AssemblyVersion("1.0.*")]
32- [ assembly: AssemblyVersion ( "12 .0.0" ) ]
33- [ assembly: AssemblyFileVersion ( "12 .0.0" ) ]
32+ [ assembly: AssemblyVersion ( "13 .0.0" ) ]
33+ [ assembly: AssemblyFileVersion ( "13 .0.0" ) ]
You can’t perform that action at this time.
0 commit comments