9 Commits

Author SHA1 Message Date
Kamil Monicz
2b549baee7
fix(scripts): use env to find bash interpreter (#3861) 2025-08-10 07:48:47 +07:00
Hubert Deng
e8dfa5f42e
Change symbolicator to use CalVer for release (#2091)
change symbolicator to use calver
2023-04-18 16:40:55 -04:00
Benedikt Franke
ec4f416c26
Reference paths relative to project root (#1800)
* Reference paths relative to the current script or project root

Before this PR:
- some scripts change the current working directory and use relative paths
- different approaches are taken to know which directory a script is running in
- paths are sometimes relative, sometimes absolute, sometimes traversing directories

After this PR:
- scripts do neither change nor care much about the current working directory
- a unified approach determines the directory of the current script
- paths are always relative to the project root

This should resolve an issue I already tried to fix with https://github.com/getsentry/self-hosted/pull/1798,
where the contents of `./sentry` were not copied
into the built container image,
thus `enhance-image.sh` did not apply.

Co-authored-by: Amin Vakil <info@aminvakil.com>
2023-02-17 09:59:48 -08:00
Burak Yigit Kaya
be48754fa9
Fix post-release.sh for git pull (#1938)
Adds a workaround for the error in https://github.com/getsentry/publish/actions/runs/4018136005

(not sure if this is fool-proof but it follows the suggestion in the output)
2023-01-26 13:49:31 -08:00
Ethan Smith
6b9306a17c
Add pre-commit config (#1738) 2022-10-21 13:46:35 -07:00
Burak Yigit Kaya
920be6771d
build: Omit nightly bump commit from changelog (#1120) 2021-10-15 20:14:06 +00:00
Burak Yigit Kaya
4a8ca83956
fix(release): Fix post-release script so it operates on master (#887)
We've been leaving onpremise master with the latest release, instead of nightly builds for 2 releases now. Even if the post-release script runs, it bumped the versions to nightly on the release branch, making it effectively a no-op. This should be addressed in Craft via getsentry/craft#115 but until then, we need this extra line.
2021-03-16 18:33:30 +03:00
Burak Yigit Kaya
af7f50c883
ci(release): Make sure to pull before pushing in post-release (#820)
Fixes the issue we had over at getsentry/publish#60. This aligns the script with [the one at getsentry/sentry](https://github.com/getsentry/sentry/blob/master/scripts/post-release.sh#L6)
2021-01-19 17:56:13 +00:00
Burak Yigit Kaya
500c02b28a
ci(release): Move to getsentry/publish for releases (#775)
A copy of getsentry/sentry#22657 with fixes included.

That said this one is a bit different. We used to use the extra option `no-merge` when publishing to keep the release branches and also keep master on nightly versions. If we want to keep this, we need to add per-project overrides to getsentry/publish which would increase complexity at this early stage for this fringe case. Instead, I opted to follow what getsentry/sentry does: merge but then immediately after that update the version.
2020-12-15 18:52:24 +03:00