build: Bump version to 3.0.3

This commit is contained in:
Michael Carlberg 2017-01-27 15:53:44 +01:00
parent 3e4a4ce78f
commit 501921ef12
7 changed files with 11 additions and 9 deletions

View File

@ -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. Please [report any problems](https://github.com/jaagr/polybar/issues/new) you run into when building the project.
~~~ sh ~~~ 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 $ mkdir polybar/build
$ cd polybar/build $ cd polybar/build
$ cmake .. $ cmake ..

View File

@ -3,7 +3,7 @@
main() { main() {
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
version=$(git describe --tags --abbrev=0) version=$(git describe --tags --abbrev=0)
set -- "${version%.*}.${version##*.}" set -- "${version%.*}.$((${version##*.}+1))"
fi fi
git tag "$@" || exit 1 git tag "$@" || exit 1
@ -11,7 +11,9 @@ main() {
tag_curr="$(git tag --sort=version:refname | tail -1)" tag_curr="$(git tag --sort=version:refname | tail -1)"
tag_prev="$(git tag --sort=version:refname | tail -2 | head -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 \ sed -r "s/${tag_prev}/${tag_curr}/g" -i \
README.md CMakeLists.txt \ README.md CMakeLists.txt \

View File

@ -1,6 +1,6 @@
pkgbase = polybar-git pkgbase = polybar-git
pkgdesc = A fast and easy-to-use status bar pkgdesc = A fast and easy-to-use status bar
pkgver = 3.0.2 pkgver = 3.0.3
pkgrel = 1 pkgrel = 1
url = https://github.com/jaagr/polybar url = https://github.com/jaagr/polybar
arch = i686 arch = i686

View File

@ -2,7 +2,7 @@
# Contributor: Michael Carlberg <c@rlberg.se> # Contributor: Michael Carlberg <c@rlberg.se>
_pkgname=polybar _pkgname=polybar
pkgname="${_pkgname}-git" pkgname="${_pkgname}-git"
pkgver=3.0.2 pkgver=3.0.3
pkgrel=1 pkgrel=1
pkgdesc="A fast and easy-to-use status bar" pkgdesc="A fast and easy-to-use status bar"
arch=("i686" "x86_64") arch=("i686" "x86_64")

View File

@ -1,6 +1,6 @@
pkgbase = polybar pkgbase = polybar
pkgdesc = A fast and easy-to-use status bar pkgdesc = A fast and easy-to-use status bar
pkgver = 3.0.2 pkgver = 3.0.3
pkgrel = 1 pkgrel = 1
url = https://github.com/jaagr/polybar url = https://github.com/jaagr/polybar
arch = i686 arch = i686
@ -24,7 +24,7 @@ pkgbase = polybar
optdepends = ttf-unifont: Font used in example config optdepends = ttf-unifont: Font used in example config
optdepends = siji-git: Font used in example config optdepends = siji-git: Font used in example config
conflicts = polybar-git 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 install = polybar.install
md5sums = SKIP md5sums = SKIP

View File

@ -1,7 +1,7 @@
# Maintainer: Michael Carlberg <c@rlberg.se> # Maintainer: Michael Carlberg <c@rlberg.se>
# Contributor: Michael Carlberg <c@rlberg.se> # Contributor: Michael Carlberg <c@rlberg.se>
pkgname=polybar pkgname=polybar
pkgver=3.0.2 pkgver=3.0.3
pkgrel=1 pkgrel=1
pkgdesc="A fast and easy-to-use status bar" pkgdesc="A fast and easy-to-use status bar"
arch=("i686" "x86_64") arch=("i686" "x86_64")

View File

@ -1,3 +1,3 @@
#pragma once #pragma once
#define GIT_TAG "3.0.2" #define GIT_TAG "3.0.3"