-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #485 from WildernessLabs/develop
Merge to main for v2.x release
- Loading branch information
Showing
211 changed files
with
3,878 additions
and
1,987 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
name: Meadow.CLI Packaging | ||
env: | ||
CLI_RELEASE_VERSION: 1.5.0.0 | ||
IDE_TOOLS_RELEASE_VERSION: 1.5.0 | ||
MEADOW_OS_VERSION: 1.5.0.0 | ||
CLI_RELEASE_VERSION_1: 1.9.0.0 | ||
CLI_RELEASE_VERSION_2: 2.0.17.0 | ||
IDE_TOOLS_RELEASE_VERSION: 1.9.0 | ||
MEADOW_OS_VERSION: 1.9.0.0 | ||
VS_MAC_2019_VERSION: 8.10 | ||
VS_MAC_2022_VERSION: 17.6 | ||
|
||
|
@@ -43,12 +44,13 @@ jobs: | |
path: Meadow.Units | ||
ref: main | ||
|
||
- name: Setup .NET Core SDK 6.0.x & 7.0.x | ||
- name: Setup .NET Core SDK 6.0.x, 7.0.x & 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
@@ -57,23 +59,23 @@ jobs: | |
name: Update CLI Version Numbers | ||
run: | | ||
$content = Get-Content main/Meadow.CLI/Meadow.CLI.csproj | Out-String | ||
$newcontent = $content -replace '<PackageVersion>.*</PackageVersion>', '<PackageVersion>${{ ENV.CLI_RELEASE_VERSION }}</PackageVersion>' | ||
$newcontent = $content -replace '<PackageVersion>.*</PackageVersion>', '<PackageVersion>${{ ENV.CLI_RELEASE_VERSION_1 }}</PackageVersion>' | ||
$newcontent | Set-Content main/Meadow.CLI/Meadow.CLI.csproj | ||
$content = Get-Content main/Meadow.CLI.Core/Meadow.CLI.Core.csproj | Out-String | ||
$newcontent = $content -replace '<Version>.*</Version>', '<Version>${{ ENV.CLI_RELEASE_VERSION }}</Version>' | ||
$newcontent = $content -replace '<Version>.*</Version>', '<Version>${{ ENV.CLI_RELEASE_VERSION_1 }}</Version>' | ||
$newcontent | Set-Content main/Meadow.CLI.Core/Meadow.CLI.Core.csproj | ||
$content = Get-Content main/Meadow.CLI.Core/Meadow.CLI.Core.6.0.0.csproj | Out-String | ||
$newcontent = $content -replace '<Version>.*</Version>', '<Version>${{ ENV.CLI_RELEASE_VERSION }}</Version>' | ||
$newcontent = $content -replace '<Version>.*</Version>', '<Version>${{ ENV.CLI_RELEASE_VERSION_1 }}</Version>' | ||
$newcontent | Set-Content main/Meadow.CLI.Core/Meadow.CLI.Core.6.0.0.csproj | ||
$content = Get-Content main/Meadow.CLI.Core/Meadow.CLI.Core.VS2019.csproj | Out-String | ||
$newcontent = $content -replace '<Version>.*</Version>', '<Version>${{ ENV.CLI_RELEASE_VERSION }}</Version>' | ||
$newcontent = $content -replace '<Version>.*</Version>', '<Version>${{ ENV.CLI_RELEASE_VERSION_1 }}</Version>' | ||
$newcontent | Set-Content main/Meadow.CLI.Core/Meadow.CLI.Core.VS2019.csproj | ||
$content = Get-Content main/Meadow.CLI.Core/Constants.cs | Out-String | ||
$newcontent = $content -replace 'CLI_VERSION = \".*\";', 'CLI_VERSION = "${{ ENV.CLI_RELEASE_VERSION }}";' | ||
$newcontent = $content -replace 'CLI_VERSION = \".*\";', 'CLI_VERSION = "${{ ENV.CLI_RELEASE_VERSION_1 }}";' | ||
$newcontent | Set-Content main/Meadow.CLI.Core/Constants.cs | ||
- name: Add MSBuild to Path | ||
|
@@ -88,7 +90,7 @@ jobs: | |
- name: Upload nuget Artifacts for internal testing | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Meadow.CLI.Classic.nuget.${{ ENV.CLI_RELEASE_VERSION }} | ||
name: Meadow.CLI.Classic.nuget.${{ ENV.CLI_RELEASE_VERSION_1 }} | ||
path: 'main\Meadow.CLI.Classic\bin\Release\*.nupkg' | ||
|
||
- name: Restore normal dependencies | ||
|
@@ -100,7 +102,7 @@ jobs: | |
- name: Upload nuget Artifacts for internal testing | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Meadow.CLI.nuget.${{ ENV.CLI_RELEASE_VERSION }} | ||
name: Meadow.CLI.nuget.${{ ENV.CLI_RELEASE_VERSION_1 }} | ||
path: 'main\Meadow.CLI\bin\Release\*.nupkg' | ||
|
||
- if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }} | ||
|
@@ -117,7 +119,7 @@ jobs: | |
- name: Upload nuget Artifacts for internal testing | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Meadow.CLI.V2.nuget.2.0.0 | ||
name: Meadow.CLI.nuget.${{ ENV.CLI_RELEASE_VERSION_2 }} | ||
path: 'main\Source\v2\Meadow.CLI\bin\Release\*.nupkg' | ||
|
||
#- if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }} | ||
|
@@ -156,9 +158,9 @@ jobs: | |
# uses: actions/setup-dotnet@v1 | ||
# with: | ||
# dotnet-version: | | ||
# 5.0.x | ||
# 6.0.x | ||
# 7.0.x | ||
# 8.0.x | ||
|
||
# - name: Setup NuGet | ||
# uses: NuGet/[email protected] | ||
|
@@ -220,12 +222,13 @@ jobs: | |
repository: WildernessLabs/VS_Win_Meadow_Extension | ||
path: vs-win | ||
|
||
- name: Setup .NET Core SDK 6.0.x & 7.0.x | ||
- name: Setup .NET Core SDK 6.0.x, 7.0.x, 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
@@ -297,9 +300,9 @@ jobs: | |
# uses: actions/setup-dotnet@v1 | ||
# with: | ||
# dotnet-version: | | ||
# 5.0.x | ||
# 6.0.x | ||
# 7.0.x | ||
# 8.0.x | ||
|
||
# - name: Setup NuGet | ||
# uses: NuGet/[email protected] | ||
|
@@ -407,12 +410,13 @@ jobs: | |
repository: WildernessLabs/VS_Mac_Meadow_Extension | ||
path: vs-mac | ||
|
||
- name: Setup .NET Core SDK 6.0.x & 7.0.x | ||
- name: Setup .NET Core SDK 6.0.x, 7.0.x & 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
@@ -517,12 +521,13 @@ jobs: | |
path: vs-code | ||
submodules: true | ||
|
||
- name: Setup .NET Core SDK 6.0.x & 7.0.x | ||
- name: Setup .NET Core SDK 6.0.x, 7.0.x & 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Setup Nuget | ||
uses: Nuget/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.