Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
16 lines (12 loc) · 431 Bytes

File metadata and controls

executable file
·
16 lines (12 loc) · 431 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python3
from datetime import date
import json
# Set the version in manifest.json to one based on today's date.
t = date.today()
version = repr(t.year) +'.'+ repr(t.month) +'.'+ repr(t.day)
f = open('chromium/manifest.json')
manifest = json.loads(f.read())
f.close()
manifest['version'] = version
f = open('chromium/manifest.json','w')
f.write(json.dumps(manifest,indent=4,sort_keys=True,separators=(',', ': ')))
Morty Proxy This is a proxified and sanitized view of the page, visit original site.