diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index f04be6e..3ae3b1e 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -14,7 +14,7 @@ jobs: fetch-depth: 0 - name: Install .NET Core - uses: actions/setup-dotnet@77a48bbb85cd3809790223e895ba4b6cbc110fe8 + uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.x @@ -22,4 +22,6 @@ jobs: run: dotnet pack -o . - name: Push to Nuget - run: dotnet nuget push SIL.DesktopAnalytics.*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.PUBLISH_TO_NUGET_ORG}} --skip-duplicate \ No newline at end of file + run: | + dotnet nuget push SIL.DesktopAnalytics.*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.PUBLISH_TO_NUGET_ORG}} --skip-duplicate + dotnet nuget push SIL.DesktopAnalytics.*.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.PUBLISH_TO_NUGET_ORG}} --skip-duplicate \ No newline at end of file diff --git a/GitVersion.yml b/GitVersion.yml index f4fa145..731c089 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,4 @@ mode: Mainline -next-version: 1.2.5 increment: Patch assembly-versioning-scheme: MajorMinorPatchTag branches: diff --git a/src/DesktopAnalytics/Analytics.cs b/src/DesktopAnalytics/Analytics.cs index efa8c18..e82711e 100644 --- a/src/DesktopAnalytics/Analytics.cs +++ b/src/DesktopAnalytics/Analytics.cs @@ -148,7 +148,7 @@ public Analytics(string apiSecret, UserInfo userInfo, Dictionary SetApplicationProperty("64bit App", Environment.Is64BitProcess.ToString()); - if (string.IsNullOrEmpty(AnalyticsSettings.Default.LastVersionLaunched)) + if (string.IsNullOrEmpty(AnalyticsSettings.Default.LastVersionLaunched)) { //"Created" is a special property that segment.io understands and coverts to equivalents in various analytics services //So it's not as descriptive for us as "FirstLaunchOnSystem", but it will give the best experience on the analytics sites. diff --git a/src/DesktopAnalytics/DesktopAnalytics.csproj b/src/DesktopAnalytics/DesktopAnalytics.csproj index f07cc0b..bc8164b 100644 --- a/src/DesktopAnalytics/DesktopAnalytics.csproj +++ b/src/DesktopAnalytics/DesktopAnalytics.csproj @@ -10,6 +10,13 @@ https://github.com/sillsdev/desktopanalytics.net Wrapper around segment.com's Analytics.net specifically for desktop apps (instead of servers). + + true + snupkg + + + +