Skip to content

Commit b57e373

Browse files
committed
release on tags
1 parent 60f4458 commit b57e373

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
name: Build
55

66
on:
7-
push
7+
push:
8+
tags:
9+
- "v*.*"
810

911
jobs:
1012
build:
@@ -25,7 +27,6 @@ jobs:
2527

2628
- name: Create Release
2729
uses: softprops/action-gh-release@v1
28-
if: startsWith(github.ref, 'refs/tags/v')
2930
with:
3031
draft: true
3132
prerelease: false

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ If UDP Discover can not work, use `sm2uploader -host 192.168.1.20 /file.gcode` t
3333
If `host` in `knownhosts`, `-host printer-id` is very convenient.
3434

3535
Get help: `sm2uploader -h`
36+
37+
## Fix the "can not be opened because it is from an unidentified developer"
38+
39+
Solution: https://osxdaily.com/2012/07/27/app-cant-be-opened-because-it-is-from-an-unidentified-developer/
40+
41+
or:
42+
`xattr -d com.apple.quarantine sm2uploader-darwin`

README.zh-cn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ Upload finished.
3434
如果 `host` 被发现过或者连接过,它会存在于 `knownhosts` 中,直接使用 id 进行连接会更加简洁: `sm2uploader -host A350-3DP /file.gcode`
3535

3636
更多参数:`sm2uploader -h`
37+
38+
## 在 macOS 系统提示文件无法打开的解决方法
39+
macOS 不允许直接打开未经数字签名的程序,参考解决方案: https://osxdaily.com/2012/07/27/app-cant-be-opened-because-it-is-from-an-unidentified-developer/
40+
41+
也可以直接在终端执行 `xattr -d com.apple.quarantine sm2uploader-darwin`

0 commit comments

Comments
 (0)