mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Do not offer devbuild as new version.
This commit is contained in:
parent
41e87e86b3
commit
dd7eab318c
@ -43,10 +43,10 @@ else
|
||||
|
||||
export QT_PLUGIN_PATH="$QTPATH/$QTVERSION/clang_64/plugins"
|
||||
export PATH="$QTBIN:$PATH"
|
||||
|
||||
qmake --version
|
||||
fi
|
||||
|
||||
qmake --version
|
||||
|
||||
# Build application and package it.
|
||||
git_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
git_revision=$(git rev-parse --short HEAD)
|
||||
|
@ -291,10 +291,15 @@ QList<UpdateInfo> SystemFactory::parseUpdatesFile(const QByteArray& updates_file
|
||||
|
||||
for (QJsonValueRef i : document) {
|
||||
QJsonObject release = i.toObject();
|
||||
|
||||
if (release["tag_name"].toString() == QSL("devbuild")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
UpdateInfo update;
|
||||
|
||||
update.m_date = QDateTime::fromString(release["published_at"].toString(), QSL("yyyy-MM-ddTHH:mm:ssZ"));
|
||||
update.m_availableVersion = release["tag_name"].toString();
|
||||
update.m_date = QDateTime::fromString(release["published_at"].toString(), QSL("yyyy-MM-ddTHH:mm:ssZ"));
|
||||
update.m_changes = release["body"].toString();
|
||||
QJsonArray assets = release["assets"].toArray();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user