mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-01-18 15:12:42 +00:00
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.
11 lines
324 B
Bash
Executable File
11 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd $SCRIPT_DIR/..
|
|
|
|
# Bring master back to nightlies after merge from release branch
|
|
|
|
SYMBOLICATOR_VERSION=nightly ./scripts/bump-version.sh '' 'nightly'
|
|
git diff --quiet || git commit -anm 'build: Set master version to nightly' && git push
|