@serverless-devs/s 3.0.0-beta.4 → 3.0.0-c78df91d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,69 +0,0 @@
1
- #!/bin/bash
2
-
3
- CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
4
- BK_CURRENT_BRANCH=${CURRENT_BRANCH}"_replace_committers"
5
- git checkout -b $BK_CURRENT_BRANCH
6
-
7
- # Set the old and new email and name values
8
- OLD_EMAIL_WSS=wssgryx@163.com
9
- CORRECT_NAME_WSS=王守帅
10
- CORRECT_EMAIL_WSS=wb-wss447188@alibaba-inc.com
11
-
12
- OLD_EMAIL_SHL=xsahxl@126.com
13
- CORRECT_NAME_SHL=史华力
14
- CORRECT_EMAIL_SHL=wb-shl391697@alibaba-inc.com
15
-
16
- OLD_EMAIL_LS=ls_huster@163.com
17
- CORRECT_NAME_LS=ls147258
18
- CORRECT_EMAIL_LS=ls147258@alibaba-inc.com
19
-
20
- # Find the commit hash of the commit from two months ago
21
- TWO_MONTHS_AGO=$(git log --branches --remotes --since="3 months ago" --pretty=format:"%H" | tail -1)
22
-
23
- # Filter the current branch from two months ago to HEAD
24
- git filter-branch --env-filter "
25
- if [ \$GIT_COMMITTER_EMAIL = '$OLD_EMAIL_WSS' ]
26
- then
27
- export GIT_COMMITTER_NAME='$CORRECT_NAME_WSS'
28
- export GIT_COMMITTER_EMAIL='$CORRECT_EMAIL_WSS'
29
- fi
30
- if [ \$GIT_AUTHOR_EMAIL = '$OLD_EMAIL_WSS' ]
31
- then
32
- export GIT_AUTHOR_NAME='$CORRECT_NAME_WSS'
33
- export GIT_AUTHOR_EMAIL='$CORRECT_EMAIL_WSS'
34
- fi
35
-
36
- if [ \$GIT_COMMITTER_EMAIL = '$OLD_EMAIL_SHL' ]
37
- then
38
- export GIT_COMMITTER_NAME='$CORRECT_NAME_SHL'
39
- export GIT_COMMITTER_EMAIL='$CORRECT_EMAIL_SHL'
40
- fi
41
- if [ \$GIT_AUTHOR_EMAIL = '$OLD_EMAIL_SHL' ]
42
- then
43
- export GIT_AUTHOR_NAME='$CORRECT_NAME_SHL'
44
- export GIT_AUTHOR_EMAIL='$CORRECT_EMAIL_SHL'
45
- fi
46
-
47
- if [ \$GIT_COMMITTER_EMAIL = '$OLD_EMAIL_LS' ]
48
- then
49
- export GIT_COMMITTER_NAME='$CORRECT_NAME_LS'
50
- export GIT_COMMITTER_EMAIL='$CORRECT_EMAIL_LS'
51
- fi
52
- if [ \$GIT_AUTHOR_EMAIL = '$OLD_EMAIL_LS' ]
53
- then
54
- export GIT_AUTHOR_NAME='$CORRECT_NAME_LS'
55
- export GIT_AUTHOR_EMAIL='$CORRECT_EMAIL_LS'
56
- fi
57
- " --tag-name-filter cat $TWO_MONTHS_AGO..HEAD
58
-
59
- # Delete the original refs after the filter is done
60
- git for-each-ref --format='%(refname)' refs/original/ | xargs -n 1 git update-ref -d
61
-
62
- # Force push the changes to the remote repository
63
- git remote add bk http://gitlab.alibaba-inc.com/serverless-devs-backup/serverless-devs.git
64
- git push bk $BK_CURRENT_BRANCH --force --no-verify
65
-
66
- # Clear
67
- git remote remove bk
68
- git checkout $CURRENT_BRANCH
69
- git branch -D $BK_CURRENT_BRANCH
package/s-linux DELETED
Binary file
package/s-macos DELETED
Binary file
package/s-win.exe DELETED
Binary file