Skip to content

Commit

Permalink
Fix bug in release script and update mo files
Browse files Browse the repository at this point in the history
  • Loading branch information
Fin Christensen committed Apr 11, 2020
1 parent 6438e32 commit f167bed
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PREFIX ?= /usr

VERSION = "8.0.0"
VERSION="8.0.0"

MSGFMT = /usr/bin/msgfmt
GLIB_COMPILE_SCHEMAS = /usr/bin/glib-compile-schemas
EXTENSION_INSTALL_DIR = "$(PREFIX)/share/gnome-shell/extensions/[email protected]"
Expand Down
Binary file modified locale/cs/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/de/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/fr/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/hu/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/it/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/pl/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/ru/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/sr/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/sr@latin/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
Binary file modified locale/tr/LC_MESSAGES/gnome-shell-extension-cpupower.mo
Binary file not shown.
6 changes: 6 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ major=0
minor=0
patch=0

old_version="$semver"

# break down the version number into it's components
regex="([0-9]+).([0-9]+).([0-9]+)"
if [[ "$semver" =~ $regex ]]
Expand Down Expand Up @@ -71,5 +73,9 @@ grep --exclude="${BASH_SOURCE[0]}" -l -Z -r -e 'VERSION=' -e 'name="version"' |

make package

git add -A
git commit -s -m "(make-release) Update version from ${old_version} to ${semver}"
git push origin master:master

git tag -sm "Update version to $semver" "v$semver"
git push --tags

0 comments on commit f167bed

Please sign in to comment.