Skip to content

Commit

Permalink
v3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Feb 2, 2020
1 parent 2ce056d commit 873cf12
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions shared/com.github.hluk.copyq.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<url type="translate">https://hosted.weblate.org/engage/copyq/</url>

<releases>
<release version="3.10.0" date="2020-02-02" />
<release version="3.9.3" date="2019-11-16" />
<release version="3.9.2" date="2019-08-25" />
<release version="3.9.1" date="2019-08-18" />
Expand Down
2 changes: 1 addition & 1 deletion src/item/itemwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ using ItemSaverPtr = std::shared_ptr<ItemSaverInterface>;
class ItemScriptableFactoryInterface;
using ItemScriptableFactoryPtr = std::shared_ptr<ItemScriptableFactoryInterface>;

#define COPYQ_PLUGIN_ITEM_LOADER_ID "com.github.hluk.copyq.itemloader/3.9.3"
#define COPYQ_PLUGIN_ITEM_LOADER_ID "com.github.hluk.copyq.itemloader/3.10.0"

/**
* Handles item in list.
Expand Down
4 changes: 2 additions & 2 deletions utils/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ itemwidget_file=src/item/itemwidget.h
changes_file=CHANGES

check_version_format() {
if ! grep -q '^[0-9]\.[0-9]\.[0-9]$' <<< "$version"; then
if ! grep -q '^[0-9]\+\.[0-9]\+\.[0-9]\+$' <<< "$version"; then
echo "Expected version format is MAJOR.MINOR.PATCH"
exit 1
fi
Expand All @@ -39,7 +39,7 @@ fix_file() {
file=$1
format=$2

pattern=$(printf "$format" '[0-9]\.[0-9]\.[0-9]')
pattern=$(printf "$format" '[0-9]\+\.[0-9]\+\.[0-9]\+')
text=$(printf "$format" "$version")
sed -i "s|$pattern|$text|" "$file"

Expand Down
2 changes: 1 addition & 1 deletion version.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(copyq_version "v3.9.3")
set(copyq_version "v3.10.0")

find_package(Git)
if(GIT_FOUND)
Expand Down

0 comments on commit 873cf12

Please sign in to comment.