You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "::set-output name=IS_PRE::true"; fi
41
+
28
42
- name: Disable EOL conversions
29
43
run: git config --global core.autocrlf false
30
44
@@ -48,6 +62,7 @@ jobs:
48
62
run: |
49
63
go get github.com/golangci/govet
50
64
go get golang.org/x/lint/golint
65
+
go get -u github.com/sanbornm/go-selfupdate/...
51
66
shell: bash
52
67
53
68
- name: Install Taskfile
@@ -97,6 +112,14 @@ jobs:
97
112
run: task build
98
113
if: matrix.operating-system == 'macos-10.15'
99
114
115
+
- name: Create autoupdate files
116
+
run: ${GOPATH}/bin/go-selfupdate arduino-create-agent${{ matrix.ext }} ${TAG_VERSION} # this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
117
+
if: steps.prerelease.outputs.IS_PRE != 'true'
118
+
119
+
- name: Upload autoupdate files to Arduino downloads servers
0 commit comments