diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-31 14:20:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 14:20:40 -0400 |
commit | e637408b4af41a5c2b74b160fb37438d4e56cccc (patch) | |
tree | 6e9ff322422ac0e5b0ae061d36435f5276b050ee /dev/data | |
parent | 983cdd233913cbd2155508dc0f4f452f7cda3626 (diff) |
Auto update manifest version (#1724)
* Update manifest to auto-fill the version based on most recent git tag
* Install git in the CI pipeline
Diffstat (limited to 'dev/data')
-rw-r--r-- | dev/data/manifest-variants.json | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json index 2703d863..2a4cc867 100644 --- a/dev/data/manifest-variants.json +++ b/dev/data/manifest-variants.json @@ -2,7 +2,7 @@ "manifest": { "manifest_version": 2, "name": "Yomichan", - "version": "21.4.30.1", + "version": "0.0.0.0", "description": "Japanese dictionary with Anki integration", "author": "Alex Yatskov", "icons": { @@ -120,7 +120,18 @@ "variants": [ { "name": "base", - "buildable": false + "buildable": false, + "modifications": [ + { + "action": "set", + "path": ["version"], + "command": { + "command": "git", + "args": ["describe", "--abbrev=0"], + "trim": true + } + } + ] }, { "name": "chrome", |