Skip to content

Commit

Permalink
Update version to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 committed Dec 4, 2024
1 parent 08b6a85 commit f7ec2b6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ on:

jobs:
Build:
runs-on: macOS-14
runs-on: macOS-15
steps:
- uses: actions/checkout@v4
- name: Install Android SDK 34
run: |
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-34"
- name: Install Mono Framework for nuget command
run: |
curl https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -o /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg
sudo installer -pkg /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -target /
- name: Install MAUI workload
run: dotnet workload install maui
- name: Build artifacts
run: ./build.sh
run: ./build.sh
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ jobs:

release-to-nuget:
name: Release and Sync Repos
runs-on: macos-14
runs-on: macos-15
needs: ['confirm-main-branch']
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Install Android SDK 34
run: |
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-34"
- name: Install Mono Framework for nuget command
run: |
curl https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -o /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg
sudo installer -pkg /tmp/MonoFramework-MDK-6.12.0.206.macos10.xamarin.universal.pkg -target /
- name: Install MAUI workload
run: dotnet workload install maui
- name: Build artifacts
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

# .NET MAUI
#
Expand All @@ -23,4 +24,4 @@ dotnet build Samples/mParticle.MAUI.iOS.Sample/mParticle.MAUI.iOS.Sample.csproj
# Package for nuget
#

nuget pack mparticle.nuspec
nuget pack mparticle.nuspec
10 changes: 5 additions & 5 deletions mparticle.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.8.1">
<id>mParticle.MAUI</id>
<version>2.1.0</version>
<version>3.0.0</version>
<title>mParticle .NET MAUI SDK</title>
<authors>Wasi Haider, Sam Dozor, Will Passidomo, Brandon Stalnaker, mParticle Inc.</authors>
<owners>mParticle Inc.</owners>
Expand All @@ -18,17 +18,17 @@
</summary>
<tags>mparticle, analytics, marketing, maui, android, ios, plugin for maui</tags>
<dependencies>
<group targetFramework="net8.0-ios17.5"></group>
<group targetFramework="net8.0-android33.0"></group>
<group targetFramework="net8.0-ios18.0"></group>
<group targetFramework="net8.0-android34.0"></group>
</dependencies>
</metadata>
<files>

<!--MAUI.iOS-->
<file src="Library/mParticle.MAUI.iOS/bin/Release/net8.0-ios/mParticle.*" target="lib/net8.0-ios17.5" />
<file src="Library/mParticle.MAUI.iOS/bin/Release/net8.0-ios/mParticle.*" target="lib/net8.0-ios18.0" />

<!--MAUI.Android-->
<file src="Library/mParticle.MAUI.Android/bin/Release/net8.0-android/mParticle.*" target="lib/net8.0-android33.0" />
<file src="Library/mParticle.MAUI.Android/bin/Release/net8.0-android/mParticle.*" target="lib/net8.0-android34.0" />

</files>
</package>

0 comments on commit f7ec2b6

Please sign in to comment.