Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Update release process
Browse files Browse the repository at this point in the history
  • Loading branch information
otsaloma committed Feb 18, 2018
1 parent 4aa620b commit 97c4d94
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 5 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ make pot
msgmerge -UN po/fi.po po/poor-maps.pot
emacs po/fi.po
tx push -s
tx push -tf -l fi
tx push -tf --no-interactive -l fi
tx pull -a --minimum-perc=95
sed -i "s/charset=CHARSET/charset=UTF-8/" po/*.po
tools/check-translations
tools/check-translations | grep %
git commit -a -m "Update translations"
git add po/*.po po/*.pot
git commit -m "Update translations"

# Check, test, do final edits and release.
make check; make test
emacs poor/__init__.py rpm/*.spec Makefile
emacs NEWS.md TODO.md
make rpm
rpmvalidation.sh rpm/*.noarch.rpm
pkcon install-local rpm/*.noarch.rpm
install-rpm-on-jolla rpm/*.noarch.rpm
tools/release

# Add release notes and RPM on GitHub.
Expand Down
2 changes: 1 addition & 1 deletion qml/AboutPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Page {
font.pixelSize: Theme.fontSizeSmall
height: Theme.itemSizeExtraSmall
horizontalAlignment: Text.AlignHCenter
text: "Copyright © 2014–2017 Osmo Salomaa"
text: "Copyright © 2014–2018 Osmo Salomaa"
}

ListItemLabel {
Expand Down
7 changes: 5 additions & 2 deletions tools/release
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ git commit -a -m "RELEASE $VERSION"
git tag -s -m "RELEASE $VERSION" $VERSION
git push
git push --tags
# Add release notes and possible downloads.
xdg-open https://github.com/otsaloma/poor-maps/tags
echo ""
echo "Add release notes and possible downloads:"
echo "https://github.com/otsaloma/poor-maps/tags"
echo ""
egrep -B 999 -m2 "==+" NEWS.md

0 comments on commit 97c4d94

Please sign in to comment.