File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1- version : v0.12.1
1+ version : v0.12.2
22
33platforms :
44 - name : Windows
55 assets :
66 - title : Installer
77 description : " (recommended)"
8- url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.1 /activitywatch-v0.12.1 -windows-x86_64-setup.exe
8+ url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.2 /activitywatch-v0.12.2 -windows-x86_64-setup.exe
99 - title : .zip
10- url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.1 /activitywatch-v0.12.1 -windows-x86_64.zip
10+ url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.2 /activitywatch-v0.12.2 -windows-x86_64.zip
1111 - title : Chocolatey
1212 url : https://chocolatey.org/packages/activitywatch
1313
1414 - name : Linux
1515 assets :
1616 - title : .zip
17- url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.1/activitywatch-v0.12.1-linux-x86_64.zip
17+ url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.2/activitywatch-v0.12.2-linux-x86_64.zip
18+ - title : .AppImage
19+ url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.2/activitywatch-linux-x86_64.AppImage
1820 - title : AUR
1921 description : " , for Arch Linux and Manjaro"
2022 url : https://aur.archlinux.org/packages/activitywatch-bin/
@@ -23,10 +25,10 @@ platforms:
2325 assets :
2426 - title : .dmg
2527 description : " (recommended)"
26- url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.1 /activitywatch-v0.12.1 -macos-x86_64.dmg
28+ url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.2 /activitywatch-v0.12.2 -macos-x86_64.dmg
2729 - type : zip
2830 title : .zip
29- url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.1 /activitywatch-v0.12.1 -macos-x86_64.zip
31+ url : https://github.com/ActivityWatch/activitywatch/releases/download/v0.12.2 /activitywatch-v0.12.2 -macos-x86_64.zip
3032 - title : Homebrew
3133 url : https://formulae.brew.sh/cask/activitywatch
3234
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
3- from datetime import datetime , timezone , timedelta
4- from pathlib import Path
53import re
4+ from datetime import datetime , timedelta , timezone
5+ from pathlib import Path
6+
67import requests
78
89
@@ -32,7 +33,7 @@ def is_older(dt: str, td: timedelta):
3233
3334 with open (p , "r" ) as f :
3435 orig = f .read ()
35- new = re .sub (r"v[0-9.]+" , latest_release , orig )
36+ new = re .sub (r"v[0-9.]+[abrc]*[0-9]* " , latest_release , orig )
3637
3738 if new == orig :
3839 print ("No change" )
You can’t perform that action at this time.
0 commit comments