Skip to content

Commit d284aac

Browse files
authored
ci: remove sentry-cli from the plugin package (#369)
* Remove sentry-cli from the plugin package * Fix sentry-cli download scripts * Update snapshot
1 parent 6c7b838 commit d284aac

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

plugin-dev/Source/ThirdParty/CLI/.gitkeep

Whitespace-only changes.

scripts/download-cli.ps1

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ $platforms = @('Darwin-universal', 'Linux-x86_64', 'Windows-x86_64')
55
$targetDir = "$PSScriptRoot/../plugin-dev/Source/ThirdParty/CLI"
66
$baseUrl = "$($conf.repo)/releases/download/$($conf.version)/sentry-cli-"
77

8+
if (-not (Test-Path $targetDir))
9+
{
10+
New-Item $targetDir -ItemType Directory > $null
11+
}
12+
813
# Remove previous contents of the directory (remove all ignored files).
914
git clean -fXd $targetDir
1015

scripts/download-cli.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ function getProperty {
66
}
77

88
baseUrl="$(getProperty 'repo')/releases/download/$(getProperty 'version')/sentry-cli-"
9-
cd "$(dirname $0)/../plugin-dev/Source/ThirdParty/CLI"
9+
targetDir="$(dirname $0)/../plugin-dev/Source/ThirdParty/CLI"
10+
11+
if ! [ -d "$targetDir" ]; then
12+
mkdir $targetDir
13+
fi
14+
15+
cd $targetDir
1016

1117
# Remove previous contents of the directory (remove all ignored files).
1218
git clean -fXd .

scripts/packaging/pack.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ $exclude = @(
66
'.gitkeep',
77
'.DS_Store',
88
'Binaries',
9-
'Intermediate'
9+
'Intermediate',
10+
'sentry-cli-*'
1011
)
1112

1213
Copy-Item "plugin-dev/*" "package-release/" -Exclude $exclude -Recurse

scripts/packaging/package.snapshot

-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ Source/ThirdParty/Android/
165165
Source/ThirdParty/Android/sentry-android-core-release.aar
166166
Source/ThirdParty/Android/sentry-android-ndk-release.aar
167167
Source/ThirdParty/Android/sentry.jar
168-
Source/ThirdParty/CLI/
169168
Source/ThirdParty/IOS/
170169
Source/ThirdParty/IOS/Sentry.embeddedframework.zip
171170
Source/ThirdParty/IOS/Sentry.framework/

0 commit comments

Comments
 (0)