Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 37d6122

Browse files
committed
v1.0.2
1 parent 89e1be6 commit 37d6122

File tree

6 files changed

+28
-15
lines changed

6 files changed

+28
-15
lines changed

.github/workflows/release.yaml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Prepare environment
13-
run: |
14-
apt install build-essential automake autoconf git squashfs-tools ssh-askpass pkg-config curl
15-
curl 'https://github.com/fwup-home/fwup/releases/download/v1.8.4/fwup_1.8.4_amd64.deb' --output ./fwup_1.8.4_amd64.deb
16-
dpkg -i ./fwup_1.8.4_amd64.deb
17-
1812
- name: Get version
1913
id: get_version
2014
run: |
2115
export VERSION="${GITHUB_REF/refs\/tags\//}"
2216
echo "VERSION=$VERSION" >> $GITHUB_ENV
2317
18+
- name: Prepare environment
19+
run: |
20+
sudo apt install build-essential automake autoconf git squashfs-tools ssh-askpass pkg-config curl wget
21+
wget 'https://github.com/fwup-home/fwup/releases/download/v1.8.4/fwup_1.8.4_amd64.deb'
22+
sudo dpkg -i ./*.deb
23+
2424
- uses: actions/checkout@v2
2525
- uses: erlef/setup-beam@v1
2626
with:
@@ -29,6 +29,12 @@ jobs:
2929

3030
- name: Prepare Nerves
3131
run: |
32+
mkdir ~/.ssh
33+
cp ./id_ed25519* ~/.ssh/
34+
chmod 700 ~/.ssh
35+
chmod 644 ~/.ssh/id_ed25519.pub
36+
chmod 600 ~/.ssh/id_ed25519
37+
3238
mix local.hex --force
3339
mix local.rebar --force
3440
mix archive.install --force hex nerves_bootstrap
@@ -40,20 +46,18 @@ jobs:
4046
run: make release
4147

4248
- name: Pack release
43-
run: tar -czf ./kiwi-${VERSION}.tar.gz kiwi.fw
49+
run: tar -czf ./kiwi.tar.gz kiwi.fw
4450

4551
- name: Generate changelog
4652
run: |
47-
export CHANGELOG=`git log $(git tag --sort=-version:refname | head -n 2 | tail -n 1)...${{ github.ref }} --pretty=format:'<li> <a href="http://github.com/mrusme/kiwi/commit/%H">view commit &bull;</a> %s</li> ' --reverse`
48-
echo "CHANGELOG=$CHANGELOG" >> $GITHUB_ENV
53+
git log $(git tag --sort=-version:refname | head -n 2 | tail -n 1)...${{ github.ref }} --pretty=format:'<li> <a href="http://github.com/mrusme/kiwi/commit/%H">view commit &bull;</a> %s</li> ' --reverse > ${{ github.workflow }}-CHANGELOG.txt
4954
5055
- name: Release
5156
uses: softprops/action-gh-release@v1
5257
if: startsWith(github.ref, 'refs/tags/')
5358
with:
54-
body: ${CHANGELOG}
59+
body_path: ${{ github.workflow }}-CHANGELOG.txt
5560
files: |
56-
kiwi-${VERSION}.tar.gz
61+
kiwi.tar.gz
5762
env:
5863
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
GITHUB_REPOSITORY: my_gh_org/my_gh_repo

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ Mnesia.*
2323
MnesiaCore.*
2424
/kiwi.fw
2525
/kiwi.fw.zip
26+
/Kiwi.paw

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ everything else that has an HTTP API!
1818

1919
## Installation
2020

21-
- Download the latest firmware (`kiwi-VERSION.tar.gz`) from the
21+
- Download the latest firmware (`kiwi.tar.gz`) from the
2222
[releases page](https://github.com/mrusme/kiwi/releases/latest) and unpack
23-
it it: `tar -xzf kiwi-VERSION.tar.gz`
23+
it it: `tar -xzf kiwi.tar.gz`
2424
- Insert the microSD card into the card reader of your computer
2525
- Raw-copy the firmware to your microSD card, e.g. using `dd`:
2626
`sudo dd bs=1m if=./kiwi.fw of=/dev/SDCARD_DEVICE` (where `SDCARD_DEVICE` is

id_ed25519

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-----BEGIN OPENSSH PRIVATE KEY-----
2+
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
3+
QyNTUxOQAAACA4juoNUQrMB+Npq6I50cLt4bjCPv4GFXW2+1xIBmEoowAAAJjIeXm8yHl5
4+
vAAAAAtzc2gtZWQyNTUxOQAAACA4juoNUQrMB+Npq6I50cLt4bjCPv4GFXW2+1xIBmEoow
5+
AAAECTN9/DTD54oxuwZf8U3fTXqUbtn+E3WWdjR1W8yowSEziO6g1RCswH42mrojnRwu3h
6+
uMI+/gYVdbb7XEgGYSijAAAAEmtpd2lAbG9jYWxob3N0LmxhbgECAw==
7+
-----END OPENSSH PRIVATE KEY-----

id_ed25519.pub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDiO6g1RCswH42mrojnRwu3huMI+/gYVdbb7XEgGYSij kiwi@localhost.lan

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule Kiwi.MixProject do
77
def project do
88
[
99
app: @app,
10-
version: "1.0.1",
10+
version: "1.0.2",
1111
elixir: "~> 1.9",
1212
archives: [nerves_bootstrap: "~> 1.10"],
1313
start_permanent: Mix.env() == :prod,

0 commit comments

Comments
 (0)