Remove build date from version information

This commit is contained in:
badaix 2021-01-28 11:26:14 +01:00
parent c46f138ea7
commit fa7340a9bc
9 changed files with 9 additions and 9 deletions

View file

@ -16,7 +16,7 @@ jobs:
- name: cmake make - name: cmake make
run: cmake --build build -- -j 2 run: cmake --build build -- -j 2
- name: debian package - name: debian package
run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_75_0" binary run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=/home/pi/Develop/boost_1_75_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" binary
- name: Archive artifacts - name: Archive artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View file

@ -35,7 +35,7 @@ jobs:
- name: cmake make - name: cmake make
run: cmake --build build --parallel 3 run: cmake --build build --parallel 3
- name: debian package - name: debian package
run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_75_0" binary run: fakeroot make -f debian/rules CMAKEFLAGS="-DBOOST_ROOT=boost_1_75_0 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" binary
- name: Archive artifacts - name: Archive artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2) cmake_minimum_required(VERSION 3.2)
project(snapcast LANGUAGES CXX VERSION 0.23.102) project(snapcast LANGUAGES CXX VERSION 0.23.103)
set(PROJECT_DESCRIPTION "Multiroom client-server audio player") set(PROJECT_DESCRIPTION "Multiroom client-server audio player")
set(PROJECT_URL "https://github.com/badaix/snapcast") set(PROJECT_URL "https://github.com/badaix/snapcast")

View file

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
VERSION = 0.23.102 VERSION = 0.23.103
BIN = snapclient BIN = snapclient
ifeq ($(TARGET), FREEBSD) ifeq ($(TARGET), FREEBSD)

View file

@ -194,7 +194,7 @@ int main(int argc, char** argv)
if (versionSwitch->is_set()) if (versionSwitch->is_set())
{ {
cout << "snapclient v" << VERSION << ", built " << __DATE__ << "\n" cout << "snapclient v" << VERSION << "\n"
<< "Copyright (C) 2014-2021 BadAix (snapcast@badaix.de).\n" << "Copyright (C) 2014-2021 BadAix (snapcast@badaix.de).\n"
<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n" << "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n"
<< "This is free software: you are free to change and redistribute it.\n" << "This is free software: you are free to change and redistribute it.\n"

2
debian/changelog vendored
View file

@ -1,4 +1,4 @@
snapcast (0.23.100-1) unstable; urgency=medium snapcast (0.23.103-1) unstable; urgency=medium
* Features * Features
-Client: Lorem ipsum -Client: Lorem ipsum

View file

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
VERSION = 0.23.102 VERSION = 0.23.103
BIN = snapserver BIN = snapserver
ifeq ($(TARGET), FREEBSD) ifeq ($(TARGET), FREEBSD)

View file

@ -149,7 +149,7 @@ int main(int argc, char* argv[])
if (versionSwitch->is_set()) if (versionSwitch->is_set())
{ {
cout << "snapserver v" << VERSION << ", built " << __DATE__ << "\n" cout << "snapserver v" << VERSION << "\n"
<< "Copyright (C) 2014-2021 BadAix (snapcast@badaix.de).\n" << "Copyright (C) 2014-2021 BadAix (snapcast@badaix.de).\n"
<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n" << "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n"
<< "This is free software: you are free to change and redistribute it.\n" << "This is free software: you are free to change and redistribute it.\n"

View file

@ -97,7 +97,7 @@ void PosixStream::do_read()
// no data available, fill with silence // no data available, fill with silence
memset(chunk_->payload + len, 0, toRead - len); memset(chunk_->payload + len, 0, toRead - len);
// avoid overflow after 186min 24s silence (at 48000:16:2) // avoid overflow after 186min 24s silence (at 48000:16:2)
if (idle_bytes_ <= max_idle_bytes_) if (idle_bytes_ <= max_idle_bytes_)
idle_bytes_ += toRead - len; idle_bytes_ += toRead - len;
break; break;