Skip to content

Commit

Permalink
release on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
macdylan committed Apr 16, 2023
1 parent 60f4458 commit b57e373
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
name: Build

on:
push
push:
tags:
- "v*.*"

jobs:
build:
Expand All @@ -25,7 +27,6 @@ jobs:

- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
prerelease: false
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ If UDP Discover can not work, use `sm2uploader -host 192.168.1.20 /file.gcode` t
If `host` in `knownhosts`, `-host printer-id` is very convenient.

Get help: `sm2uploader -h`

## Fix the "can not be opened because it is from an unidentified developer"

Solution: https://osxdaily.com/2012/07/27/app-cant-be-opened-because-it-is-from-an-unidentified-developer/

or:
`xattr -d com.apple.quarantine sm2uploader-darwin`
5 changes: 5 additions & 0 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ Upload finished.
如果 `host` 被发现过或者连接过,它会存在于 `knownhosts` 中,直接使用 id 进行连接会更加简洁: `sm2uploader -host A350-3DP /file.gcode`

更多参数:`sm2uploader -h`

## 在 macOS 系统提示文件无法打开的解决方法
macOS 不允许直接打开未经数字签名的程序,参考解决方案: https://osxdaily.com/2012/07/27/app-cant-be-opened-because-it-is-from-an-unidentified-developer/

也可以直接在终端执行 `xattr -d com.apple.quarantine sm2uploader-darwin`

0 comments on commit b57e373

Please sign in to comment.