File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ git checkout 1.2.3 -b sentry-1.2.3
1616- cherry-pick relevant commit(s) from previous releases
1717
1818releases are done through craft in the release.yml workflow -- make sure to
19- target your particular branch with a ` +sentry #` release postfix
19+ target your particular branch with a ` - #` release postfix (like ` 1.2.3-1 ` )
2020
2121___
2222
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euxo pipefail
33
4- if ! grep -E ' ^.*\+sentry [0-9]+' <<< " $2" ; then
5- : " version must be D.D.D+sentryD got: $2 "
4+ if ! grep -E ' ^[0-9]+\.[0-9]+\.[0-9]+- [0-9]+$ ' <<< " $2" ; then
5+ : " expected #.#.#-# got $2 "
66 exit 1
77fi
8+
89sed -i " s/^ version=" ' "' " .*" ' "' " ,$/ version=" ' "' " $2 " ' "' " ,/" setup.py
You can’t perform that action at this time.
0 commit comments