Update version for beta1
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
project(
|
project(
|
||||||
'Rubber Band Library',
|
'Rubber Band Library',
|
||||||
'c', 'cpp',
|
'c', 'cpp',
|
||||||
version: '3.0.0-pre',
|
version: '3.0.0-beta1',
|
||||||
license: 'GPL-2.0-or-later',
|
license: 'GPL-2.0-or-later',
|
||||||
default_options: [
|
default_options: [
|
||||||
'cpp_std=c++11',
|
'cpp_std=c++11',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
version=$(grep '^ *version:' meson.build | head -1 | sed "s/^.*'\([0-9][0-9.]*\)'.*$/\1/")
|
version=$(meson introspect --projectinfo meson.build -i | grep '"version"' | sed -e 's/^.*: "//' -e 's/".*$//')
|
||||||
check() {
|
check() {
|
||||||
text="$1"
|
text="$1"
|
||||||
echo -n "$text [yN] "
|
echo -n "$text [yN] "
|
||||||
@@ -45,6 +45,15 @@ echo "The CHANGELOG should start with a list of changes for this release."
|
|||||||
head -3 CHANGELOG
|
head -3 CHANGELOG
|
||||||
check "The first three lines of the CHANGELOG are above. Are they correct?"
|
check "The first three lines of the CHANGELOG are above. Are they correct?"
|
||||||
|
|
||||||
|
hgid=$(hg id | awk '{ print $1; }')
|
||||||
|
case "$hgid" in
|
||||||
|
*+) echo "ERROR: Working copy has been modified, please review and commit"
|
||||||
|
echo "as appropriate before continuing"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*);;
|
||||||
|
esac
|
||||||
|
|
||||||
echo
|
echo
|
||||||
check "All version checks passed. Continue?"
|
check "All version checks passed. Continue?"
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
#ifndef RUBBERBAND_STRETCHER_H
|
#ifndef RUBBERBAND_STRETCHER_H
|
||||||
#define RUBBERBAND_STRETCHER_H
|
#define RUBBERBAND_STRETCHER_H
|
||||||
|
|
||||||
#define RUBBERBAND_VERSION "3.0.0"
|
#define RUBBERBAND_VERSION "3.0.0-beta1"
|
||||||
#define RUBBERBAND_API_MAJOR_VERSION 2
|
#define RUBBERBAND_API_MAJOR_VERSION 2
|
||||||
#define RUBBERBAND_API_MINOR_VERSION 7
|
#define RUBBERBAND_API_MINOR_VERSION 7
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define RUBBERBAND_VERSION "3.0.0"
|
#define RUBBERBAND_VERSION "3.0.0-beta1"
|
||||||
#define RUBBERBAND_API_MAJOR_VERSION 2
|
#define RUBBERBAND_API_MAJOR_VERSION 2
|
||||||
#define RUBBERBAND_API_MINOR_VERSION 7
|
#define RUBBERBAND_API_MINOR_VERSION 7
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user