diff --git a/mastodonCzStats.js b/mastodonCzStats.js index dfa769f..5d2ced1 100755 --- a/mastodonCzStats.js +++ b/mastodonCzStats.js @@ -28,6 +28,7 @@ $.api("", true) instances_cz: stats.sort((a, b)=> b.registrations-a.registrations), sum: stats.reduce((acc, stats) => sumStats([acc, stats]), { statuses: 0, logins: 0, registrations: 0, mau: 0, user_count: 0 }) }; + if(is_git) s.run`git pull --rebase`; echo(JSON.stringify(out, null, " ")).to(store); if(is_git) gitCommit([ store ], "cron"); $.exit(0); diff --git a/package-lock.json b/package-lock.json index 906f362..138a7df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mastodon-cz-stats", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mastodon-cz-stats", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "bin": { "mastodon-cz-stats": "mastodonCzStats.js" diff --git a/package.json b/package.json index 942d1e2..039ef30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mastodon-cz-stats", - "version": "1.0.0", + "version": "1.0.1", "description": "Experimentální skript k získání českých Mastodon instancí a dodatečných informací.", "bin": "mastodonCzStats.js", "scripts": {