Skip to content

Commit 0a96227

Browse files
committed
Add usage of the script
1 parent 529ce3f commit 0a96227

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pythons/update.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
#!/usr/bin/env bash
2+
#
3+
# A script to generate md5sum/sha256sum files and index.html
4+
#
5+
# Usage:
6+
#
7+
# 1. Modify `./index.html` and add an entry for archive you want to add.
8+
# You can omit the sha256sum for the archive this time.
9+
# 2. Download the archive from origin and save it in `./source`
10+
# 3. Run `./update.sh`
11+
# 4. Check diff of `./index.html` if the checksum is calculated properly
12+
# 5. Commit files with name of `md5sum` and `sha256sum` of the archive
13+
# 6. Push changes to the origin
14+
#
215

316
set -e
417
set -x

0 commit comments

Comments
 (0)