Skip to content

Commit

Permalink
add release description
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Jun 30, 2022
1 parent c1daeff commit 14d421f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,37 @@ This program was created to find Raspberry Pis in the network.

- [Adafruit-Pi-Finder](https://github.com/adafruit/Adafruit-Pi-Finder) - finde deinen Raspberry Pi im Netzwerk

New Released
------------

When the source code is changed, create a new release.
1. Create a new tag
```
git tag 0.6
git push origin 0.6
```
2. Download the [latest release](https://github.com/niccokunzmann/python_dhcp_server/releases/download/0.5/python_dhcp_server_standalone_0.5.zip).
```
cd Downloads
wget 'https://github.com/niccokunzmann/python_dhcp_server/releases/download/0.5/python_dhcp_server_standalone_0.5.zip'
```
3. Unzip it.
```
unzip python_dhcp_server_standalone_0.5.zip
```
4. Replace the `server` directory.
```
cd python_dhcp_server_standalone
rm -r server
cp -r ~/python_dhcp_server/server/ .
rm -r server/__pycache__
```
5. Zip the release.
```
zip -9r python_dhcp_server_standalone_0.6.zip python_dhcp_server_standalone
```
6. Upload the zip file to the [pushed release][releases].


[releases]: https://github.com/niccokunzmann/python_dhcp_server/releases
[zip]: https://github.com/niccokunzmann/python_dhcp_server/archive/refs/heads/master.zip
Expand Down

0 comments on commit 14d421f

Please sign in to comment.