This repository was archived by the owner on Oct 23, 2023. It is now read-only.
File tree 5 files changed +48
-5
lines changed
5 files changed +48
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ minVersion : ' 0.7.0'
3
+ changelogPolicy : simple
4
+ github :
5
+ owner : getsentry
6
+ repo : raven-python
7
+ targets :
8
+ - name : pypi
9
+ - name : github
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ matrix:
18
18
- pip install tox
19
19
script : tox -e flake8
20
20
21
+ - name : Distribution packages
22
+ python : " 3.6"
23
+ install : false
24
+ script : make travis-upload-dist
25
+
21
26
sudo : false
22
27
addons :
23
28
apt :
Original file line number Diff line number Diff line change @@ -20,11 +20,23 @@ setup-git:
20
20
git config branch.autosetuprebase always
21
21
cd .git/hooks && ln -sf ../../hooks/* ./
22
22
23
- publish :
23
+ clean :
24
24
rm -rf dist build
25
+
26
+ publish : clean
25
27
python setup.py sdist bdist_wheel upload
26
28
29
+ dist : clean
30
+ python setup.py sdist bdist_wheel
31
+
32
+ install-zeus-cli :
33
+ npm install -g @zeus-ci/cli
34
+
35
+ travis-upload-dist : dist install-zeus-cli
36
+ zeus upload -t " application/zip+wheel" dist/* \
37
+ || [[ ! " $( TRAVIS_BRANCH) " =~ ^release/ ]]
38
+
27
39
update-ca :
28
40
curl -sSL https://mkcert.org/generate/ -o raven/data/cacert.pem
29
41
30
- .PHONY : bootstrap test lint coverage setup-git publish update-ca
42
+ .PHONY : bootstrap test lint coverage setup-git publish update-ca dist clean install-zeus-cli travis-upload-dist
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -eux
3
+
4
+ SCRIPT_DIR=" $( dirname " $0 " ) "
5
+ cd $SCRIPT_DIR /..
6
+
7
+ OLD_VERSION=" ${1} "
8
+ NEW_VERSION=" ${2} "
9
+
10
+ echo " Current version: $OLD_VERSION "
11
+ echo " Bumping version: $NEW_VERSION "
12
+
13
+ function replace() {
14
+ ! grep " $2 " $3
15
+ perl -i -pe " s/$1 /$2 /g" $3
16
+ grep " $2 " $3 # verify that replacement was successful
17
+ }
18
+
19
+ replace " current_version = [0-9.]+" " current_version = $NEW_VERSION " ./.bumpversion.cfg
20
+ replace " VERSION = '[0-9.]+'" " VERSION = '$NEW_VERSION '" ./raven/__init__.py
You can’t perform that action at this time.
0 commit comments