Skip to content

Commit 92d7de0

Browse files
Add link to the docs in the README and include it in the release archive
1 parent 47ac424 commit 92d7de0

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ jobs:
6868

6969
- name: Prepare Build Artifacts (!windows)
7070
working-directory: ./${{ env.DIST_DIR }}
71-
run: tar -czf ${{ env.RELEASE_NAME }}.tar.gz arduino-flasher-cli -C ../ LICENSE
71+
run: tar -czf ${{ env.RELEASE_NAME }}.tar.gz arduino-flasher-cli -C ../ LICENSE README.md
7272
if: matrix.os != 'windows'
7373

7474
- name: Prepare Build Artifacts (windows)
7575
working-directory: ./${{ env.DIST_DIR }}
76-
run: 7z a -tzip ${{ env.RELEASE_NAME }}.zip arduino-flasher-cli.exe ../LICENSE
76+
run: 7z a -tzip ${{ env.RELEASE_NAME }}.zip arduino-flasher-cli.exe ../LICENSE ../README.md
7777
if: matrix.os == 'windows'
7878

7979
- name: Upload artifacts
@@ -125,7 +125,7 @@ jobs:
125125
126126
- name: Prepare Build Artifacts
127127
run: |
128-
${{ env.SEVENZ_PATH }} a -tzip ${{ env.RELEASE_NAME }}.zip arduino-flasher-cli.exe LICENSE
128+
${{ env.SEVENZ_PATH }} a -tzip ${{ env.RELEASE_NAME }}.zip arduino-flasher-cli.exe LICENSE README.md
129129
130130
- name: Upload artifacts
131131
uses: actions/upload-artifact@v4
@@ -137,7 +137,7 @@ jobs:
137137

138138
# This step is needed because the self hosted runner does not delete files automatically
139139
- name: Cleanup
140-
run: rm ${{ env.RELEASE_NAME }}.zip LICENSE arduino-flasher-cli.exe
140+
run: rm ${{ env.RELEASE_NAME }}.zip LICENSE README.md arduino-flasher-cli.exe
141141

142142
notarize-macos:
143143
name: Notarize macOS
@@ -253,7 +253,7 @@ jobs:
253253
+x \
254254
"${{ env.PROJECT_NAME }}"
255255
256-
tar -czf ${{ env.PACKAGE_FILENAME }} ${{ env.PROJECT_NAME }} LICENSE
256+
tar -czf ${{ env.PACKAGE_FILENAME }} ${{ env.PROJECT_NAME }} LICENSE README.md
257257
258258
- name: Replace artifact with notarized build
259259
uses: actions/upload-artifact@v4

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
A tool to download and flash Debian images on the board.
44

5+
## Docs
6+
7+
For a full guide on how to use it, see the [User documentation](https://docs.arduino.cc/tutorials/uno-q/update-image/).
8+
59
## Build and test it locally
610

7-
Build it with `task arduino-flasher-cli:build` and run:
11+
Build it with `task build` and run:
812

913
```sh
1014
# Flash the latest release of the Debian image

0 commit comments

Comments
 (0)