File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,18 @@ resetdb:
43
43
python $(MANAGE ) migrate --noinput
44
44
python $(MANAGE ) loaddata sample_data
45
45
46
- # Release Instructions:
47
- #
48
- # 1. bump version number above
49
- # 2. `make release`
50
- # 3. git push origin master --tags
51
- #
52
- # If this doesn't work, make sure you have wheels installed:
53
- # pip install wheel
54
- release :
46
+ # Set the version. Done this way to avoid fancy, brittle Python import magic
47
+ version :
55
48
@sed -i -r /version/s/[0-9.]+/$(VERSION ) / setup.py
56
49
@sed -i -r /version/s/[0-9.]+/$(VERSION ) / django_object_actions/__init__.py
50
+
51
+ # Release instructions
52
+ # 1. bump VERSION above
53
+ # 2. run `make release`
54
+ # 3. `git push --tags origin master`
55
+ # 4. update release notes
56
+ release : clean version
57
57
@git commit -am " bump version to v$( VERSION) "
58
58
@git tag v$(VERSION )
59
+ @-pip install wheel > /dev/null
59
60
python setup.py sdist bdist_wheel upload
You can’t perform that action at this time.
0 commit comments