Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed May 13, 2023
1 parent 68e4f3f commit 43924ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@ jobs:
- name: checkout
uses: actions/checkout@v3
with:
ref: master
fetch-depth: 0
- name: get ver
run: |
echo "$(cat v2ray.sh | grep ver=)" >> $GITHUB_ENV
echo "old=$(git tag | tail -n1)" >> $GITHUB_ENV
- name: test
if: env.is_sh_ver == env.old
run: |
echo not found new version.
exit 1
# - name: test
# if: env.is_sh_ver == env.old
# run: |
# echo not found new version.
# exit 1
- name: zip
run: zip -9vr code.zip . -x .\*
- name: release
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ cmd=$(type -P apt-get || type -P yum)
[[ ! $cmd ]] && err "此脚本仅支持 ${yellow}(Ubuntu or Debian or CentOS)${none}."

# systemd
[[ ! $(type -P systemd) ]] && {
err "此系统缺少 ${yellow}(systemd)${none}, 请尝试执行:${yellow} ${cmd} update -y;${cmd} install systemd -y ${none}来修复此错误."
[[ ! $(type -P systemctl) ]] && {
err "此系统缺少 ${yellow}(systemctl)${none}, 请尝试执行:${yellow} ${cmd} update -y;${cmd} install systemd -y ${none}来修复此错误."
}

# wget installed or none
Expand Down

0 comments on commit 43924ae

Please sign in to comment.