Skip to content

Commit

Permalink
removing mac M1 support (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-smith authored Apr 11, 2022
1 parent 9e2ed35 commit 4f5adee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,9 @@ jobs:
./dist/ado2gh.*.win-x64.zip
./dist/ado2gh.*.linux-x64.tar.gz
./dist/ado2gh.*.osx-x64.tar.gz
./dist/ado2gh.*.osx-arm64.tar.gz
./dist/win-x64/gei-windows-amd64.exe
./dist/linux-x64/gei-linux-amd64
./dist/osx-x64/gei-darwin-amd64
./dist/osx-arm64/gei-darwin-arm64
- name: Archive Release Notes
shell: pwsh
Expand Down
31 changes: 1 addition & 30 deletions publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ else {
}

tar -cvzf ./dist/ado2gh.$AssemblyVersion.osx-x64.tar.gz -C ./dist/osx-x64 ado2gh

# arm64 version for M1 macs
dotnet publish src/ado2gh/ado2gh.csproj -c Release -o dist/osx-arm64/ -r osx-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true /p:DebugType=None /p:IncludeNativeLibrariesForSelfExtract=true /p:VersionPrefix=$AssemblyVersion

if ($LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}

tar -cvzf ./dist/ado2gh.$AssemblyVersion.osx-arm64.tar.gz -C ./dist/osx-arm64 ado2gh
}


Expand Down Expand Up @@ -106,24 +97,4 @@ else {
}

Rename-Item ./dist/osx-x64/gei gei-darwin-amd64

# arm64 version for M1 macs
dotnet publish src/gei/gei.csproj -c Release -o dist/osx-arm64/ -r osx-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true /p:DebugType=None /p:IncludeNativeLibrariesForSelfExtract=true /p:VersionPrefix=$AssemblyVersion

if ($LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}

if (Test-Path -Path ./dist/osx-arm64/gei-darwin-arm64) {
Remove-Item ./dist/osx-arm64/gei-darwin-arm64
}

Rename-Item ./dist/osx-arm64/gei gei-darwin-arm64
}







}

0 comments on commit 4f5adee

Please sign in to comment.