Skip to content

Commit 26304f1

Browse files
committed
Update release script and release 3.6.1
Travis password should be fixed and thus upload to pypi should be back online.
1 parent 6fe109c commit 26304f1

File tree

6 files changed

+39
-26
lines changed

6 files changed

+39
-26
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ deploy:
6363
distributions: sdist bdist_wheel
6464
password:
6565
secure: >
66-
ARo04J13A2+CGAqvIoKsypctOIQZI8e07to8OGtrhC7gVv92Fkw0peHpn7t0DFODFAjPhFZIGsNAvy3bST
67-
sB2UQ85b+fCdcsltFSBHKknvixXOSfE0LbBEzHpGKYvUci0Y2cYWzBVZuj7gR76YWWIGK9560EnXML2eNtTJ4cVuQ=
66+
MIbsyar7H1epBcp+TpSJ3APYUnIiQAB0M9cLEXFzqwJU1bjPev8fYNbfCQB0bA/TSHXaQjfR
67+
F3sTFFYxpVOxjRHPIWctBTTuKOETAd3XR96YtVRGLpglxLvI+9U5YPuGWC4SbKuAE8L8pqH9
68+
O9pnKqZCaarGxOm+GjEZrfzfm1g=
6869
on:
6970
tags: true
7071
repo: Guake/guake

Makefile

+16-15
Original file line numberDiff line numberDiff line change
@@ -433,26 +433,27 @@ release-note-github: reno-lint
433433
sed 's/\\\#/\#/g' | \
434434
tr '\r' '\n'
435435

436-
release: git-pull-rebase tag-pbr git-commit-release-commit release-note-news rm-dists update-po dists release-git-tag release-note-github git-commit-amend
437-
438-
git-pull-rebase:
436+
release:
439437
git checkout -f master
440438
git pull --rebase upstream master
441-
442-
release-git-tag:
443439
@{ \
444-
set -x \
445-
git tag -d "$$(pipenv run python setup.py --version | cut -d. -f1,2,3)"; \
446-
git commit --all -m "Release ???"; \
440+
set -e ;\
441+
set -x ;\
442+
export VERSION=$$(pipenv run python setup.py --version | cut -d. -f1,2,3); \
443+
echo "I: Computed new version: $$VERSION"; \
444+
echo "I: presse ENTER to accept or type new version number:"; \
445+
read VERSION_OVERRIDE; \
446+
VERSION=$${VERSION_OVERRIDE:-$$VERSION}; \
447447
PROJECTNAME=$$(pipenv run python setup.py --name); \
448-
echo "Note: tag has been removed. Use 'make tag-pbr' to tag and push to origin"; \
448+
echo "I: Tagging $$PROJECTNAME in version $$VERSION with tag: $$VERSION" ; \
449+
echo "I: Pushing tag $$VERSION, press ENTER to continue, C-c to interrupt"; \
450+
(git commit --all -m "Release $${VERSION}" || true) ; \
451+
git tag $$VERSION -m "$$PROJECTNAME $$VERSION"; \
452+
make release-note-news rm-dists update-po dists ; \
453+
git commit --all --amend -n; \
454+
git tag -f "$${VERSION}"; \
449455
}
450-
451-
git-commit-amend:
452-
git commit -a --amend
453-
454-
git-commit-release-commit:
455-
git commit --all -m "Release $$(pipenv run python setup.py --version | cut -d. -f1,2,3)"
456+
make release-note-github
456457

457458

458459
# aliases to gracefully handle typos on poor dev's terminal

NEWS.rst

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
Guake
33
=====
44

5+
3.6.1
6+
=====
7+
8+
Bug Fixes
9+
---------
10+
11+
- Minor build system fixes
12+
513
3.6.0
614
=====
715

guake/main.py

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
from guake.utils import restore_preferences
4343
from guake.utils import save_preferences
4444

45-
4645
# When we are in the document generation on readthedocs, we do not have paths.py generated
4746
try:
4847
from guake.paths import LOCALE_DIR

guake/support.py

+9-8
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
from gi.repository import GdkX11
1111
from gi.repository import Gtk
1212

13-
from guake import guake_version
1413
from guake import gtk_version
15-
from guake import vte_version
14+
from guake import guake_version
1615
from guake import vte_runtime_version
16+
from guake import vte_version
1717

1818

1919
def horizonal_line():
@@ -35,17 +35,18 @@ def populate_display(display):
3535
monitor = display.get_monitor(i)
3636
manufacturer = monitor.get_manufacturer()
3737
model = monitor.get_model()
38-
v = '%s%s%s' % (manufacturer if manufacturer else '',
39-
' ' if manufacturer or model else '',
40-
model if model else '')
38+
v = '%s%s%s' % (
39+
manufacturer if manufacturer else '', ' ' if manufacturer or model else '',
40+
model if model else ''
41+
)
4142
print('* Monitor: {} - {}'.format(i, v))
4243

4344
# Geometry
4445
rect = monitor.get_geometry()
4546
scale = monitor.get_scale_factor()
46-
v = '%d x %d%s at %d, %d' % (rect.width, rect.height,
47-
' % 2' if scale == 2 else '',
48-
rect.x, rect.y)
47+
v = '%d x %d%s at %d, %d' % (
48+
rect.width, rect.height, ' % 2' if scale == 2 else '', rect.x, rect.y
49+
)
4950
print(' * Geometry:\t\t{}'.format(v))
5051

5152
# Size
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fixes:
2+
- |
3+
Minor build system fixes

0 commit comments

Comments
 (0)