diff --git a/README.md b/README.md index e851bd19..2e05473d 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Find a more complete list on the [dedicated wiki page](https://github.com/jaagr/ Please [report any problems](https://github.com/jaagr/polybar/issues/new) you run into when building the project. ~~~ sh - $ git clone --branch 3.0.2 --recursive https://github.com/jaagr/polybar + $ git clone --branch 3.0.3 --recursive https://github.com/jaagr/polybar $ mkdir polybar/build $ cd polybar/build $ cmake .. diff --git a/common/bump.sh b/common/bump.sh index cef51502..d9a3e096 100755 --- a/common/bump.sh +++ b/common/bump.sh @@ -3,7 +3,7 @@ main() { if [ $# -eq 0 ]; then version=$(git describe --tags --abbrev=0) - set -- "${version%.*}.${version##*.}" + set -- "${version%.*}.$((${version##*.}+1))" fi git tag "$@" || exit 1 @@ -11,7 +11,9 @@ main() { tag_curr="$(git tag --sort=version:refname | tail -1)" tag_prev="$(git tag --sort=version:refname | tail -2 | head -1)" - ./version.sh "$tag_curr" + if [ -x ./common/version.sh ]; then + ./common/version.sh "$tag_curr" + fi sed -r "s/${tag_prev}/${tag_curr}/g" -i \ README.md CMakeLists.txt \ diff --git a/contrib/polybar-git.aur/.SRCINFO b/contrib/polybar-git.aur/.SRCINFO index d4fd55d8..e678a870 100644 --- a/contrib/polybar-git.aur/.SRCINFO +++ b/contrib/polybar-git.aur/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = polybar-git pkgdesc = A fast and easy-to-use status bar - pkgver = 3.0.2 + pkgver = 3.0.3 pkgrel = 1 url = https://github.com/jaagr/polybar arch = i686 diff --git a/contrib/polybar-git.aur/PKGBUILD b/contrib/polybar-git.aur/PKGBUILD index bbae1893..a0eaecd0 100644 --- a/contrib/polybar-git.aur/PKGBUILD +++ b/contrib/polybar-git.aur/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Michael Carlberg _pkgname=polybar pkgname="${_pkgname}-git" -pkgver=3.0.2 +pkgver=3.0.3 pkgrel=1 pkgdesc="A fast and easy-to-use status bar" arch=("i686" "x86_64") diff --git a/contrib/polybar.aur/.SRCINFO b/contrib/polybar.aur/.SRCINFO index 594ee030..2029e0a1 100644 --- a/contrib/polybar.aur/.SRCINFO +++ b/contrib/polybar.aur/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = polybar pkgdesc = A fast and easy-to-use status bar - pkgver = 3.0.2 + pkgver = 3.0.3 pkgrel = 1 url = https://github.com/jaagr/polybar arch = i686 @@ -24,7 +24,7 @@ pkgbase = polybar optdepends = ttf-unifont: Font used in example config optdepends = siji-git: Font used in example config conflicts = polybar-git - source = polybar::git+https://github.com/jaagr/polybar.git#tag=3.0.2 + source = polybar::git+https://github.com/jaagr/polybar.git#tag=3.0.3 install = polybar.install md5sums = SKIP diff --git a/contrib/polybar.aur/PKGBUILD b/contrib/polybar.aur/PKGBUILD index 7676a3db..815b8695 100644 --- a/contrib/polybar.aur/PKGBUILD +++ b/contrib/polybar.aur/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Michael Carlberg # Contributor: Michael Carlberg pkgname=polybar -pkgver=3.0.2 +pkgver=3.0.3 pkgrel=1 pkgdesc="A fast and easy-to-use status bar" arch=("i686" "x86_64") diff --git a/include/version.hpp b/include/version.hpp index 883ba383..cfe533e0 100644 --- a/include/version.hpp +++ b/include/version.hpp @@ -1,3 +1,3 @@ #pragma once -#define GIT_TAG "3.0.2" +#define GIT_TAG "3.0.3"