We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7643319 commit 07c7cf3Copy full SHA for 07c7cf3
.gitignore
@@ -8,3 +8,8 @@ tmp/
8
*.egg
9
build
10
htmlcov
11
+
12
+*.addon
13
+*.ankiaddon
14
+*.zip
15
+meta.json
ci/release.sh
@@ -0,0 +1,13 @@
1
+#!/bin/bash
2
+pushd $(dirname $0)/..
3
+CUR_TAG=$(git describe --tags)
4
+OUT="org-open-note_$CUR_TAG.ankiaddon"
5
+sed "s/__MOD__/$(date +%s)/g" meta.json.tpl > meta.json
6
+rm -f $OUT
7
+zip -9r $OUT \
+ meta.json \
+ __init__.py \
+ config.json \
+ icons
+popd
+echo done
meta.json renamed to meta.json.tpl
@@ -1,5 +1,5 @@
{
- "mod": 1234123412341,
+ "mod": __MOD__,
"name": "Open Org Note",
"conflicts": []
-}
+}
0 commit comments