Skip to content

Commit bc77a15

Browse files
authored
Update config.yml
1 parent ffb97af commit bc77a15

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.circleci/config.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,16 @@ jobs:
2727
- run: go get github.com/eclipse/paho.mqtt.golang
2828
- run: go get go.bug.st/serial
2929
- 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/
3535
- run:
3636
name: "Publish Release on GitHub"
3737
command: |
3838
go get github.com/tcnksm/ghr
3939
go install github.com/tcnksm/ghr
4040
VERSION=$(git rev-parse --short HEAD)
4141
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+

0 commit comments

Comments
 (0)