File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -27,26 +27,16 @@ jobs:
27
27
- run : go get github.com/eclipse/paho.mqtt.golang
28
28
- run : go get go.bug.st/serial
29
29
- run : make
30
- # - run: sudo apt update
31
- # - run: sudo apt install -y upx squashfs-tools && sudo apt-get clean
32
- # - run: make upx
33
- # - run: make compilesquash
34
- # - run: cp OS/Kernel/openwrt-ar71xx-generic-cus531-16M-kernel.bin dist/
30
+ - run : sudo apt update
31
+ - run : sudo apt install -y upx squashfs-tools && sudo apt-get clean
32
+ - run : make upx
33
+ - run : make compilesquash
34
+ - run : cp OS/Kernel/openwrt-ar71xx-generic-cus531-16M-kernel.bin dist/
35
35
- run :
36
36
name : " Publish Release on GitHub"
37
37
command : |
38
38
go get github.com/tcnksm/ghr
39
39
go install github.com/tcnksm/ghr
40
40
VERSION=$(git rev-parse --short HEAD)
41
41
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete 1.0.${CIRCLE_BUILD_NUM} dist/
42
- publish-github-release :
43
- docker :
44
- - image : cibuilds/github:0.10
45
- steps :
46
- - attach_workspace :
47
- at : ./artifacts
48
- - run :
49
- name : " Publish Release on GitHub"
50
- command : |
51
- VERSION=$(my-binary --version)
52
- ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/
42
+
You can’t perform that action at this time.
0 commit comments