Skip to content

Commit feeb748

Browse files
committed
Fix references to sentrysdk and libsentrysdk
1 parent 4e39cf3 commit feeb748

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

.github/actions/prepare-testing/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
- name: Set up Godot
2727
shell: bash
2828
run: |
29-
version=$(sed -n 's/compatibility_minimum = "\([^"]*\)"/\1-stable/p' project/addons/sentrysdk/bin/sentrysdk.gdextension)
29+
version=$(sed -n 's/compatibility_minimum = "\([^"]*\)"/\1-stable/p' project/addons/sentry/bin/sentry.gdextension)
3030
if [[ "$RUNNER_OS" == "Windows" ]]; then
3131
suffix=win64.exe
3232
elif [[ "$RUNNER_OS" == "Linux" ]]; then
@@ -61,7 +61,7 @@ runs:
6161
# timeout-minutes: 5
6262
run: |
6363
scons project/addons/gdUnit4
64-
chmod +x project/addons/sentrysdk/bin/{linux,macos}/crashpad_handler
64+
chmod +x project/addons/sentry/bin/{linux,macos}/crashpad_handler
6565
echo "--- Rebuilding import cache.."
6666
${GODOT} --headless --editor --path project/ --quit-after 2000 || true
6767
echo "--- Finished rebuilding import cache."

.github/workflows/build_gdextension.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ on:
55
inputs:
66
ref:
77
type: string
8-
default: ''
9-
description: 'The branch, tag or SHA to checkout (leave empty for event SHA)'
8+
default: ""
9+
description: "The branch, tag or SHA to checkout (leave empty for event SHA)"
1010

1111
workflow_dispatch:
1212
inputs:
1313
ref:
1414
type: string
15-
default: ''
16-
description: 'The branch, tag or SHA to checkout (leave empty for event SHA)'
15+
default: ""
16+
description: "The branch, tag or SHA to checkout (leave empty for event SHA)"
1717

1818
env:
1919
# Default SCons flags applied to each build.
@@ -118,8 +118,8 @@ jobs:
118118
BUILD_TYPE: ${{matrix.target == 'template_release' && 'release' || 'debug'}}
119119
shell: bash
120120
run: |
121-
cd project/addons/sentrysdk/bin/linux/
122-
lib=libsentrysdk.${{matrix.platform}}.${BUILD_TYPE}.${{matrix.arch}}.so
121+
cd project/addons/sentry/bin/linux/
122+
lib=libsentry.${{matrix.platform}}.${BUILD_TYPE}.${{matrix.arch}}.so
123123
objcopy --only-keep-debug ${lib} ${lib}.debug
124124
objcopy --add-gnu-debuglink ${lib}.debug ${lib}
125125
strip --strip-debug ${lib}
@@ -128,7 +128,7 @@ jobs:
128128
if: matrix.platform != 'web' # web is unsupported currently; it is used to test compilation with such platforms (ifdefs)
129129
uses: actions/upload-artifact@v4
130130
with:
131-
name: libsentrysdk.${{matrix.platform}}.${{matrix.target}}.${{matrix.arch}}
131+
name: libsentry.${{matrix.platform}}.${{matrix.target}}.${{matrix.arch}}
132132
path: |
133133
project/
134134
!project/addons/gdUnit4
@@ -143,5 +143,5 @@ jobs:
143143
uses: actions/upload-artifact/merge@v4
144144
with:
145145
name: sentry-godot-gdextension
146-
pattern: libsentrysdk.*
146+
pattern: libsentry.*
147147
delete-merged: true

.github/workflows/package.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,34 +60,34 @@ jobs:
6060
run: |
6161
rcodesign sign --for-notarization \
6262
--p12-file ${{ env.APPLE_CERT_PATH }} --p12-password ${{ secrets.APPLE_CERT_PASSWORD }} \
63-
artifact/addons/sentrysdk/bin/macos/libsentrysdk.macos.debug.framework/libsentrysdk.macos.debug
63+
artifact/addons/sentry/bin/macos/libsentry.macos.debug.framework/libsentry.macos.debug
6464
rcodesign sign --for-notarization \
6565
--p12-file ${{ env.APPLE_CERT_PATH }} --p12-password ${{ secrets.APPLE_CERT_PASSWORD }} \
66-
artifact/addons/sentrysdk/bin/macos/libsentrysdk.macos.release.framework/libsentrysdk.macos.release
66+
artifact/addons/sentry/bin/macos/libsentry.macos.release.framework/libsentry.macos.release
6767
rcodesign sign --for-notarization \
6868
--p12-file ${{ env.APPLE_CERT_PATH }} --p12-password ${{ secrets.APPLE_CERT_PASSWORD }} \
69-
artifact/addons/sentrysdk/bin/macos/crashpad_handler
69+
artifact/addons/sentry/bin/macos/crashpad_handler
7070
7171
- name: Notarize macOS binaries
7272
if: env.DO_CODESIGN == '1'
7373
run: |
74-
zip libsentrysdk.macos.debug.zip artifact/addons/sentrysdk/bin/macos/libsentrysdk.macos.debug.framework/libsentrysdk.macos.debug
74+
zip libsentry.macos.debug.zip artifact/addons/sentry/bin/macos/libsentry.macos.debug.framework/libsentry.macos.debug
7575
rcodesign notary-submit --wait --api-key-file ${{ env.APPLE_API_KEY_PATH }} \
76-
libsentrysdk.macos.debug.zip
76+
libsentry.macos.debug.zip
7777
78-
zip libsentrysdk.macos.release.zip artifact/addons/sentrysdk/bin/macos/libsentrysdk.macos.release.framework/libsentrysdk.macos.release
78+
zip libsentry.macos.release.zip artifact/addons/sentry/bin/macos/libsentry.macos.release.framework/libsentry.macos.release
7979
rcodesign notary-submit --wait --api-key-file ${{ env.APPLE_API_KEY_PATH }} \
80-
libsentrysdk.macos.release.zip
80+
libsentry.macos.release.zip
8181
82-
zip crashpad_handler.zip artifact/addons/sentrysdk/bin/macos/crashpad_handler
82+
zip crashpad_handler.zip artifact/addons/sentry/bin/macos/crashpad_handler
8383
rcodesign notary-submit --wait --api-key-file ${{ env.APPLE_API_KEY_PATH }} \
8484
crashpad_handler.zip
8585
8686
- name: Prepare artifact
8787
shell: bash
8888
run: |
8989
# * Fix crashpad_handler permissions, workaround for https://github.com/actions/upload-artifact/issues/38
90-
chmod +x artifact/addons/sentrysdk/bin/{linux,macos}/crashpad_handler
90+
chmod +x artifact/addons/sentry/bin/{linux,macos}/crashpad_handler
9191
# * Create release archive
9292
version=$(grep 'VERSION =' SConstruct | cut -d '"' -f 2)
9393
git_short_sha=$(git rev-parse --short HEAD)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ brew install scons
4040
# run from the repository root dir
4141
scons target=editor debug_symbols=yes
4242
```
43-
The build process should produce a GDExtension library file for the ***editor target*** at `project/addons/sentrysdk/bin/...`.
43+
The build process should produce a GDExtension library file for the ***editor target*** at `project/addons/sentry/bin/...`.
4444

4545
To export a project in Godot that uses this extension, you'll also need the libraries for the export templates:
4646
```bash
@@ -60,7 +60,7 @@ In the Godot editor, you can adjust the Sentry SDK settings by going to `Project
6060
- `src/` -- Godot extension source code
6161
- `modules/` -- various submodules, such as `godot-cpp` and other SDKs like `sentry-native`
6262
- `project/` -- example Godot project
63-
- `project/addons/sentrysdk/` -- where build artifacts are placed
63+
- `project/addons/sentry/` -- where build artifacts are placed
6464
- `project/test/` -- unit tests
6565
- `scripts/` -- various scripts used mostly for maintenance
6666
- `doc_classes/` -- built-in Godot documentation (class reference)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ brew install scons
4747
# run from the repository root dir
4848
scons target=editor debug_symbols=yes
4949
```
50-
The build process should produce a GDExtension library file for the ***editor target*** at `project/addons/sentrysdk/bin/...`.
50+
The build process should produce a GDExtension library file for the ***editor target*** at `project/addons/sentry/bin/...`.
5151

5252
To export a project in Godot that uses this extension, you'll also need the libraries for the export templates:
5353
```bash

src/sentry/native/native_sdk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ void NativeSDK::initialize() {
390390
String exe_dir = OS::get_singleton()->get_executable_path().get_base_dir();
391391
String handler_path = exe_dir.path_join(export_subdir).path_join(handler_fn);
392392
if (!FileAccess::file_exists(handler_path)) {
393-
const String addon_bin_dir = "res://addons/sentrysdk/bin/";
393+
const String addon_bin_dir = "res://addons/sentry/bin/";
394394
handler_path = ProjectSettings::get_singleton()->globalize_path(
395395
addon_bin_dir.path_join(platform_dir).path_join(handler_fn));
396396
}

src/sentry_sdk.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ SentrySDK::SentrySDK() {
208208
// Fix crashpad handler executable bit permissions on Unix platforms if the
209209
// user extracts the distribution archive without preserving such permissions.
210210
if (OS::get_singleton()->is_debug_build()) {
211-
_fix_unix_executable_permissions("res://addons/sentrysdk/bin/macos/crashpad_handler");
212-
_fix_unix_executable_permissions("res://addons/sentrysdk/bin/linux/crashpad_handler");
211+
_fix_unix_executable_permissions("res://addons/sentry/bin/macos/crashpad_handler");
212+
_fix_unix_executable_permissions("res://addons/sentry/bin/linux/crashpad_handler");
213213
}
214214
#endif
215215

0 commit comments

Comments
 (0)