Skip to content

Commit

Permalink
+ install
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Feb 9, 2022
1 parent 1056def commit ccfb52e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
with:
src: ./dist/release/*
host: ${{ secrets.SSH_HOST }}
remote: /data/release/ui/
remote: /data/release/ui/download/
port: ${{ secrets.SSH_PORT }}
user: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
Expand Down
3 changes: 2 additions & 1 deletion share/const.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package share

// Logs
// (session -> freeport)
// session -> freeport
// 更新制品目录 -> ui/downloads

// VERSION 版本号
const VERSION = "0.9.0"
Expand Down
4 changes: 2 additions & 2 deletions shell/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
VERSION="0.9.11"
URL="https://demo-crm.iqka.com/releases/$VERSION"
VERSION=$(ls -lt /data/release/ui/download | grep yao- | head -n 1 |awk '{print $9}' |awk -F- '{print $2}')
URL="https://release.yaoapps.com/download"

function macos(){
tmpdir=$(dirname $(mktemp -u))
Expand Down

0 comments on commit ccfb52e

Please sign in to comment.