File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ if [ $CI_COMMIT_TAG ] ; then
4
+ for f in $1 -$CI_COMMIT_TAG .zip ; do
5
+ sha256sum $f > $f .sha256
6
+ done
7
+ else
8
+ for f in $1 -.zip ; do
9
+ sha256sum $f > $f .sha256
10
+ done
11
+ fi
12
+ for f in * .sha256 ; do
13
+ echo $f
14
+ cat $f
15
+ done
Original file line number Diff line number Diff line change @@ -34,12 +34,18 @@ steps:
34
34
- ./.ci-make.sh magisk-prep
35
35
- ./.ci-make.sh magisk-zip
36
36
37
+ gen-sha256 :
38
+ image : sc.cryxtal.org/ci-img/git-curl-jq:latest
39
+ commands :
40
+ - ./.ci-sha256.sh magisk-twemoji
41
+
37
42
upload-crystalcommit :
38
43
image : woodpeckerci/plugin-gitea-release
39
44
settings :
40
45
base_url : https://sc.cryxtal.org
41
46
files :
42
47
- " magisk-twemoji-*.zip"
48
+ - " magisk-twemoji-*.zip.sha256"
43
49
api_key :
44
50
from_secret : sc_api_key
45
51
prerelease : true
You can’t perform that action at this time.
0 commit comments