We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4b8ff1 commit 96af834Copy full SHA for 96af834
scripts/download.py
@@ -1,5 +1,6 @@
1
import os
2
import sys
3
+import time
4
import subprocess
5
6
version = sys.argv[1]
@@ -23,5 +24,13 @@
23
24
url = f'https://github.com/learnforpractice/mixin-python/releases/download/v{version}/'
25
26
for f in files:
- if not os.path.exists(f):
27
+ count = 60*60/10
28
+ while True:
29
+ print('Downloading {}'.format(f))
30
subprocess.call(['wget', url + f])
31
+ if os.path.exists(f):
32
+ break
33
+ time.sleep(10)
34
+ count -= 1
35
+ if count <= 0:
36
tag.sh
@@ -0,0 +1,6 @@
+VERSION=v0.2.3
+git push origin :refs/tags/$VERSION
+git tag -d $VERSION
+git tag $VERSION -F release.txt
+git push -f origin $VERSION
+
0 commit comments