self-hosted/scripts/post-release.sh
2022-10-21 13:46:35 -07:00

11 lines
392 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
git checkout master && git pull
SYMBOLICATOR_VERSION=nightly ./scripts/bump-version.sh '' 'nightly'
git diff --quiet || git commit -anm $'build: Set master version to nightly\n\n#skip-changelog' && git pull --rebase && git push